mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Disable vdpau support if the detected libvdpau does not support MPEG-4.
Originally committed as revision 20854 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8e9efe4392
commit
deda2a4a72
5
configure
vendored
5
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user