From ea1fdba72381356fd24b36257fa14125f883665d Mon Sep 17 00:00:00 2001 From: gb Date: Tue, 30 Mar 2010 13:05:31 +0000 Subject: [PATCH] Fix build with VA-API < 0.30. --- gst-libs/gst/vaapi/gstvaapiutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/vaapi/gstvaapiutils.c b/gst-libs/gst/vaapi/gstvaapiutils.c index f222f10..53c405d 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils.c +++ b/gst-libs/gst/vaapi/gstvaapiutils.c @@ -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; } -- 2.7.4