aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-01-04 16:29:19 +0000
committerDiego Biurrun <diego@biurrun.de>2010-01-04 16:29:19 +0000
commitabf649c777244f4e0b0994ba11447658d4f0ffb7 (patch)
tree0d19ddcb55185ee7279ccc63d9484f992d0d34b1 /configure
parenta2e6a14b77a6e22bc9263a32bba88048e3cbbb3a (diff)
downloadffmpeg-abf649c777244f4e0b0994ba11447658d4f0ffb7.tar.gz
Fix VDPAU check to avoid printing spurious messages to the console.
Originally committed as revision 21016 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 0642bc7e59..275fa88b27 100755
--- a/configure
+++ b/configure
@@ -2500,11 +2500,12 @@ check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
-enabled vdpau_vdpau_h &&
+if enabled vdpau_vdpau_h; then
check_cpp_condition \
vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
{ echolog "Please upgrade to libvdpau >= 0.2 if you would like vdpau support." &&
disable vdpau; }
+fi
enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"