mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
configure: Move initial VAAPI check to a more sensible place
This commit is contained in:
parent
5b5ed92d92
commit
2610c9528f
3
configure
vendored
3
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user