vaapi: move configure check down.

This commit is contained in:
Gwenole Beauchesne 2011-03-30 09:19:50 +02:00
parent 39530272c5
commit f9c215e260

3
configure vendored
View File

@ -2846,7 +2846,6 @@ done
check_lib math.h sin -lm
disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd
disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
check_mathfunc exp2
check_mathfunc exp2f
@ -2946,6 +2945,8 @@ check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
if ! disabled vdpau && enabled vdpau_vdpau_h; then
check_cpp_condition \
vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||