summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapicompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapicompat.h')
-rw-r--r--gst-libs/gst/vaapi/gstvaapicompat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapicompat.h b/gst-libs/gst/vaapi/gstvaapicompat.h
index 756474aa..9b4da516 100644
--- a/gst-libs/gst/vaapi/gstvaapicompat.h
+++ b/gst-libs/gst/vaapi/gstvaapicompat.h
@@ -91,4 +91,9 @@ typedef struct _VASliceParameterBufferBase {
#define vaAssociateSubpicture vaAssociateSubpicture2
#endif
+/* Compatibility glue with VA-API 0.34 */
+#if VA_CHECK_VERSION(0,34,0)
+# include <va/va_compat.h>
+#endif
+
#endif /* GST_VAAPI_COMPAT_H */