[FFmpeg-devel] [PATCH] Get avcodec configuration at runtime.
Reinhard Tartler
siretart
Thu Jan 21 21:43:51 CET 2010
On Do, Jan 21, 2010 at 21:23:10 (CET), M?ns Rullg?rd wrote:
> Ramiro Polla <ramiro.polla at gmail.com> writes:
>
>> Hi,
>>
>> Currently cmdutils.c hardcodes FFMPEG_CONFIGURATION to print out in
>> the banner. This is a problem when someone updates libavcodec and
>> keeps the same ffmpeg executable. For example debian has different
>> libavcodec packages with different codecs enabled.
That's ubuntu. debian (currently) allows only the crippled version.
>> Attached patch makes cmdutils.c use avcodec_configuration(), but
>> that's not good also because people might have mixed libav* libraries
>> around.
>>
>> Suggestions welcome...
>
> Print all of them. To avoid ugly clutter we could check if they are
> all the same and print it only once if they are.
sounds most usable.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
More information about the ffmpeg-devel
mailing list