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

Don Moir donmoir at comcast.net
Wed Sep 11 13:01:34 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: Tuesday, September 10, 2013 6:11 PM
Subject: Re: [FFmpeg-devel] [PATCH] Add --avlog-limit configure option.


> On 10.09.2013, at 23:29, Alexander Strasser <eclipse7 at gmx.net> wrote:
>> On 2013-09-10 19:24 +0200, 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.
>>>
>>> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
>>> ---
>>> configure       | 22 ++++++++++++++++++++++
>>> libavutil/log.c |  1 +
>>> libavutil/log.h | 12 ++++++++++++
>>> 3 files changed, 35 insertions(+)
>>>
>>> diff --git a/configure b/configure
>>> index 4ff97b4..57ca190 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -99,6 +99,8 @@ Configuration options:
>>>   --disable-static         do not build static libraries [no]
>>>   --enable-shared          build shared libraries [no]
>>>   --enable-small           optimize for size instead of speed
>>> +  --avlog-limit=value      do not compile in messages below this limit can be a number or
>>                                                                         ^
>>> +                           one of: debug verbose info warning error fatal panic quiet
>>
>>  Seems some inter punctuation is missing (at the indicated position?)
>>
>>  Also I would like to see it tucked avay under "Advanced options"
>
> I thought it quite appropriate to place next to enable-small
> Though possibly that would be an argument to move enable-small, I don't think ordinary users should use that either...

I will get around to testing soon. It will probably be awhile before I can actually ship it out though. I feel like I have to test 
new ffmpeg versions for a least a month before I can release it. I watch the timeline and it worries me at times.

Thanks, I appreciate your efforts and the efforts of others. 



More information about the ffmpeg-devel mailing list