libs: utils: guard EncSliceLP for VA-API < 0.39.1
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Sat, 15 Feb 2020 19:44:48 +0000 (11:44 -0800)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Sat, 15 Feb 2020 19:51:02 +0000 (11:51 -0800)
Relates to #234

gst-libs/gst/vaapi/gstvaapiutils.c

index a3deff4..ec59ea0 100644 (file)
@@ -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);