Commit f7623706 authored by diego's avatar diego

Fix VDPAU check to avoid printing spurious messages to the console.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21016 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 58d4417a
...@@ -2500,11 +2500,12 @@ check_func XOpenDisplay -lX11 && ...@@ -2500,11 +2500,12 @@ check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext && check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
enabled vdpau_vdpau_h && if enabled vdpau_vdpau_h; then
check_cpp_condition \ check_cpp_condition \
vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" || vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
{ echolog "Please upgrade to libvdpau >= 0.2 if you would like vdpau support." && { echolog "Please upgrade to libvdpau >= 0.2 if you would like vdpau support." &&
disable vdpau; } disable vdpau; }
fi
enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel" enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment