Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-10-02 00:51:07 +0300
committerMark Thompson <sw@jkqxz.net>2017-10-09 02:11:53 +0300
commit9c7a71145b88e56cb5f67c66f6d27c20c8d06165 (patch)
treeebf78fb6342b8bd3d132b52f40a2d361b83f3e4d
parent65c3a32836f477f23763003112fa77ce321fabe5 (diff)
configure: Add config option for libva2 (VAAPI 1)
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 946124025d..f634a83bf6 100755
--- a/configure
+++ b/configure
@@ -2205,6 +2205,7 @@ CONFIG_EXTRA="
texturedsp
texturedspenc
tpeldsp
+ vaapi_1
vaapi_encode
vc1dsp
videodsp
@@ -6241,6 +6242,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