compat: add compatibility glue with VA-API 0.34+ (WIP).
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 23 Mar 2012 16:13:58 +0000 (17:13 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 23 Mar 2012 16:13:58 +0000 (17:13 +0100)
gst-libs/gst/vaapi/gstvaapicompat.h

index 756474a..9b4da51 100644 (file)
@@ -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 */