[Ffmpeg-devel] [PATCH] configure.c: CONFIG_ENCODERS

Roine Gustafsson roine
Sat May 7 21:32:20 CEST 2005


On May 7, 2005, at 8:19 PM, M?ns Rullg?rd wrote:

> Roine Gustafsson <roine at users.sourceforge.net> writes:
>
>> Patch sets CONFIG_ENCODERS and CONFIG_DECODERS depending on wether the
>> user has added any encoders or decoders.
>> The idea is to use CONFIG_[EN|DE]CODERS for libavformat and use
>> CONFIG_<x>_[EN|DE]CODER for libavcodec.
>> Then libavformat would have no 'encoders' (muxers) if libavcodec has
>> no encoders at all.
>
> You might still want the ability to mux streams from other encoders,
> or copied from the input.

You might have misunderstood: If there are ANY decoders, it will enable 
ALL demuxers, and similar for encoders.
The current behaviour is to always include both muxers and demuxers.

An alternate way would be to add e.g. --enable-[de]muxers options 
instead.
Ofcourse, if someone feels like doing the --enable-muxer="..." instead 
that would be even better.

   /Roine




More information about the ffmpeg-devel mailing list