Commit ea1fdba7 authored by gb's avatar gb

Fix build with VA-API < 0.30.

parent 28f73fb5
......@@ -159,8 +159,9 @@ to_GstVaapiSurfaceStatus(guint va_flags)
}
/* Check for encoder status */
#if VA_CHECK_VERSION(0,30,0)
if (va_flags & VASurfaceSkipped)
flags |= GST_VAAPI_SURFACE_STATUS_SKIPPED;
#endif
return flags;
}
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