diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-03-17 15:12:41 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-05 12:18:23 +0300 |
commit | 2610c9528f86286e4c6e174411a26ff5b4815cde (patch) | |
tree | 551c8c1d681455ed95f5d28e05db32d3db1ef99a /configure | |
parent | 5b5ed92d92252a685e891a5d636870e223b63228 (diff) |
configure: Move initial VAAPI check to a more sensible place
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |