mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
Fix build with VA-API < 0.30.
This commit is contained in:
parent
28f73fb582
commit
ea1fdba723
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue