[FFmpeg-devel] [PATCH 1/6] configure: Add config option for libva2 (VAAPI 1)

Mark Thompson sw at jkqxz.net
Sun Oct 8 18:11:41 EEST 2017


---
 configure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index 391c141e7a..87722de226 100755
--- a/configure
+++ b/configure
@@ -2204,6 +2204,7 @@ CONFIG_EXTRA="
     texturedsp
     texturedspenc
     tpeldsp
+    vaapi_1
     vaapi_encode
     vc1dsp
     videodsp
@@ -6237,6 +6238,10 @@ enabled vaapi &&
 enabled vaapi &&
     check_lib vaapi_x11 "va/va.h va/va_x11.h" vaGetDisplay -lva -lva-x11 -lX11
 
+enabled vaapi &&
+    check_cpp_condition "va/va.h" "VA_CHECK_VERSION(1, 0, 0)" &&
+    enable vaapi_1
+
 enabled vdpau &&
     check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
     disable vdpau
-- 
2.11.0



More information about the ffmpeg-devel mailing list