VAAPI: vaQuerySurfaceStatus() is totally unreliable.
The first time befor a surface is used it will return VASurfaceReady. However whenever it has been used it status is ALWAYS VASurfaceRendering, therefor it is unusable as a guard against selecting a surface that is being used for rendering or displaying.
Showing
Please register or sign in to comment