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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapicompat.h b/gst-libs/gst/vaapi/gstvaapicompat.h
index 0e4b24a6..781e30d6 100644
--- a/gst-libs/gst/vaapi/gstvaapicompat.h
+++ b/gst-libs/gst/vaapi/gstvaapicompat.h
@@ -42,6 +42,10 @@
# include <va/va_compat.h>
#endif
+#if VA_CHECK_VERSION(0,36,0)
+#include <va/va_drmcommon.h>
+#endif
+
#ifdef HAVE_VA_VA_DEC_HEVC_H
# include <va/va_dec_hevc.h>
#endif