summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2020-02-15 11:44:48 -0800
committerU. Artie Eoff <ullysses.a.eoff@intel.com>2020-02-15 11:51:02 -0800
commit5df8cf0cdb999ce516a4b4ac91394d397aef7186 (patch)
tree5e73036587484e7b9bcb2bbc1035c320f5e9ba14 /gst-libs
parent2aec396efd0aa5a939d62c7bc19c7d93c4dcd208 (diff)
libs: utils: guard EncSliceLP for VA-API < 0.39.1
Relates to #234
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiutils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiutils.c b/gst-libs/gst/vaapi/gstvaapiutils.c
index a3deff43..ec59ea00 100644
--- a/gst-libs/gst/vaapi/gstvaapiutils.c
+++ b/gst-libs/gst/vaapi/gstvaapiutils.c
@@ -269,7 +269,9 @@ string_of_VAEntrypoint (VAEntrypoint entrypoint)
MAP (Deblocking);
MAP (EncSlice);
MAP (EncPicture);
+#if VA_CHECK_VERSION(0,39,1)
MAP (EncSliceLP);
+#endif
MAP (VideoProc);
#if VA_CHECK_VERSION(1,0,0)
MAP (FEI);