aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2011-03-30 09:19:50 +0200
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2011-03-30 16:15:29 +0200
commitf9c215e260d62c1213ea4f241b01ba4c4cf1c7b7 (patch)
tree6a32be67706189f10af28d81ba8af6b8d923439f /configure
parent39530272c5ab218407e5d7bcca80fd7f608a6eca (diff)
downloadffmpeg-f9c215e260d62c1213ea4f241b01ba4c4cf1c7b7.tar.gz
vaapi: move configure check down.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index f6926df0c6..df1b485a1f 100755
--- a/configure
+++ b/configure
@@ -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" ||