summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-06-14 09:20:37 +0000
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2010-09-20 12:55:47 +0200
commitade43e801668c1b0f9f80c1ea9f12f6fdc86a7f9 (patch)
tree1ffd72bd4a636346cb0eb2c3cf4fd31a535b3d4e /gst-libs
parent643d35e87a67376af9cd89cd868666368b105ac3 (diff)
Fix build with older VA-API 0.29-sds.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/vaapi/gstvaapicompat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapicompat.h b/gst-libs/gst/vaapi/gstvaapicompat.h
index 1ad47ef7..e17684fb 100644
--- a/gst-libs/gst/vaapi/gstvaapicompat.h
+++ b/gst-libs/gst/vaapi/gstvaapicompat.h
@@ -27,6 +27,9 @@
# include <va_x11.h>
#else
# include <va/va.h>
+# if !VA_CHECK_VERSION(0,30,4)
+# include <va/va_x11.h>
+# endif
#endif
#if USE_VAAPI_GLX