Fix build with VA-API < 0.30.

This commit is contained in:
gb 2010-03-30 13:05:31 +00:00
parent 28f73fb582
commit ea1fdba723

View file

@ -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;
}