[FFmpeg-cvslog] configure: Move initial VAAPI check to a more sensible place
Diego Biurrun
git at videolan.org
Mon Mar 20 10:46:52 EET 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Mar 17 13:12:41 2015 +0100| [2610c9528f86286e4c6e174411a26ff5b4815cde] | committer: Diego Biurrun
configure: Move initial VAAPI check to a more sensible place
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2610c9528f86286e4c6e174411a26ff5b4815cde
---
configure | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 80f39f3..86aa017 100755
--- a/configure
+++ b/configure
@@ -4579,7 +4579,6 @@ disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
check_lib math.h sin -lm && LIBM="-lm"
-enabled vaapi && require vaapi va/va.h vaInitialize -lva
atan2f_args=2
ldexpf_args=2
@@ -4775,6 +4774,8 @@ if enabled libxcb; then
add_extralibs "$xcb_event_libs $xcb_shm_libs $xcb_xfixes_libs"
fi
+enabled vaapi && require vaapi va/va.h vaInitialize -lva
+
enabled vaapi &&
check_code cc "va/va.h" "vaCreateSurfaces(0, 0, 0, 0, 0, 0, 0, 0)" ||
disable vaapi
More information about the ffmpeg-cvslog
mailing list