aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2009-12-14 06:33:43 +0000
committerAlex Converse <alex.converse@gmail.com>2009-12-14 06:33:43 +0000
commitdeda2a4a7237d03b6e3ef2189f5515b550109ac6 (patch)
treebc7d9de6d61a293189cb08d5dfb2f6be31025960 /configure
parent8e9efe439216d0bc7dbd9e9f4d2baa4b2aeaff30 (diff)
downloadffmpeg-deda2a4a7237d03b6e3ef2189f5515b550109ac6.tar.gz
Disable vdpau support if the detected libvdpau does not support MPEG-4.
Originally committed as revision 20854 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index bdb723af5d..0753f28e48 100755
--- a/configure
+++ b/configure
@@ -2481,6 +2481,11 @@ check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
+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 )
+
enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
# add some useful compiler flags if supported