[Ffmpeg-devel] I'm giving up

Måns Rullgård mru
Wed Dec 6 16:50:41 CET 2006


Panagiotis Issaris said:
> Hi Benjamin,
>
> On Wed, 2006-12-06 at 16:32 +0100, Benjamin Larsson wrote:
>> >>>> [...]
>> >> If another id isn't added we can't use both x264 and the native encoder
>> >> in the same binary.
>> >>
>> >>
>> >
>> > Ah, can this behaviour be changed easily ?
>> >
>>
>> I don't think it will be 2 lines of code for that.
>>
>> > IMHO we should not add a new id, but disable native one if x264 is chosen
>> A configure option is easy to do though.
> Something like this? Not very generic, but it seems to work.
>
> diff --git a/configure b/configure
> index a4607a4..5bd09f2 100755
> --- a/configure
> +++ b/configure
> @@ -1495,6 +1495,10 @@ EOF
>      restore_flags
>  fi
>
> +# Disable native H.264 encoder if x264 is chosen
> +if enabled x264; then
> +    ENCODER_LIST=`echo $ENCODER_LIST|sed 's/h264_encoder //'`
> +fi

Much nicer:
enabled x264 && disable h264_encoder

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list