aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-10-01 22:51:07 +0100
committerMark Thompson <sw@jkqxz.net>2017-10-24 23:53:44 +0100
commita126b67e1b01d5886afaa6bcad108a85392ce15c (patch)
tree248cd5fd9f9f91715c59e76d14c19887783cfdce
parent94ab0bef408c738b18d851c47a5bcd69a6258cc2 (diff)
downloadffmpeg-a126b67e1b01d5886afaa6bcad108a85392ce15c.tar.gz
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 173610a19c..5223236795 100755
--- a/configure
+++ b/configure
@@ -1650,6 +1650,7 @@ SYSTEM_FUNCS="
SYSTEM_LIBRARIES="
sdl
+ vaapi_1
vaapi_drm
vaapi_x11
vdpau_x11
@@ -4834,6 +4835,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