[FFmpeg-devel] [PATCH] Add --avlog-limit configure option.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Sep 11 22:14:39 CEST 2013

On Wed, Sep 11, 2013 at 07:06:32PM +0100, Derek Buitenhuis wrote:
> On 9/10/2013 6:24 PM, Reimar Döffinger wrote:
> > This allows compiling out messages below a certain level.
> > Note that it might cause some strange behaviour with the
> > help printout of the command-line tools.
> ... Why?
> (Please don't say "binary size"...)

Because I could :-)
But yes, I found the binary size difference quite compelling.
Some of the NULL_IF_CONFIG_SMALL stuff gains us less.
And for something like e.g. a Windows GUI program linking against
libav* these messages are likely close to completely useless.
If people think it's too ugly for the value I don't have much of
an issue dropping it though, I just wanted to see what is necessary
for it.
Longer term, I was wondering about using this scheme as a replacement
for av_dlog.

More information about the ffmpeg-devel mailing list