lavu/hwcontext_vaapi: sync surface before export its DRM handle
According to description of vaExportSurfaceHandle in libva, vaSyncSurface must be called if the contents of the surface will be read. Fixes ticket #9967. Reviewed-by: Zhao Zhili <zhilizhao@tencent.com> Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Showing
Please register or sign in to comment