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

Don Moir donmoir at comcast.net
Thu Sep 12 01:13:42 CEST 2013


----- Original Message ----- 
From: "Reimar Döffinger" <Reimar.Doeffinger at gmx.de>
To: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
Sent: Wednesday, September 11, 2013 4:14 PM
Subject: Re: [FFmpeg-devel] [PATCH] Add --avlog-limit configure option.


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"...)

> 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.

initial test seems to work well. used: --avlog-limit=-AV_LOG_FATAL will try some others in awhile 



More information about the ffmpeg-devel mailing list