summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-03-23 17:13:58 +0100
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-04-02 13:40:56 +0200
commit6bca1bc6def78de3977ccbc269d28fabae6d7ad0 (patch)
tree6b4ca1fbbb8ee93be417e4ced32fb9232069cad3
parent4429e10ef39eb1ebb05710e094b87b36fdea5a01 (diff)
downloadgst-vaapi-6bca1bc6def78de3977ccbc269d28fabae6d7ad0.tar.gz
compat: add compatibility glue with VA-API 0.34+ (WIP).
-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 */