[FFmpeg-cvslog] r20854 - trunk/configure

Måns Rullgård mans
Mon Dec 14 13:17:43 CET 2009


alexc <subversion at mplayerhq.hu> writes:

> Author: alexc
> Date: Mon Dec 14 07:33:43 2009
> New Revision: 20854
>
> Log:
> Disable vdpau support if the detected libvdpau does not support MPEG-4.
>
> Modified:
>    trunk/configure
>
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	Mon Dec 14 04:30:25 2009	(r20853)
> +++ trunk/configure	Mon Dec 14 07:33:43 2009	(r20854)
> @@ -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 )

This is wrong.  You can't use enable/disable inside () since that runs
in a subshell.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list