You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (drv->surfaceCount <= 1&&num_render_targets==0) {
1059
-
LOG("0/1 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32");
1060
-
num_render_targets=32;
1061
-
}
1061
+
// Setting to maximun value if num_render_targets == 0 to prevent picture index overflow as additional surfaces can be created after calling nvCreateContext
0 commit comments