Commit 140ae52b authored by Jean-Paul Saman's avatar Jean-Paul Saman

src/xvba_video_glx.c: Do not change surface status in query_surface_status_glx() function

The function query_surface_status_glx() changes the surface status. This looks
very suspicious and might be even a design error.
parent de9bbd35
...@@ -2086,7 +2086,6 @@ query_surface_status_glx( ...@@ -2086,7 +2086,6 @@ query_surface_status_glx(
continue; continue;
if (obj_output->va_surface_status != VASurfaceDisplaying) if (obj_output->va_surface_status != VASurfaceDisplaying)
continue; continue;
obj_output->va_surface_status = VASurfaceReady;
/* Make sure all pending OpenGL commands have completed */ /* Make sure all pending OpenGL commands have completed */
GLContextState old_cs; GLContextState old_cs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment