[FFmpeg-devel] [PATCH] verbose without debug

Michael Niedermayer michaelni
Sun Mar 15 19:15:25 CET 2009


On Sun, Mar 15, 2009 at 12:28:54AM -0700, Baptiste Coudurier wrote:
> Michael Niedermayer wrote:
> > On Fri, Mar 13, 2009 at 05:23:06PM -0700, Baptiste Coudurier wrote:
> >> On 3/13/2009 4:50 PM, Michael Niedermayer wrote:
> >>> On Fri, Mar 13, 2009 at 03:54:37PM -0700, Baptiste Coudurier wrote:
> >>>> Hi
> >>>>
> >>>> $subject,
> >>>>
> >>>> This permits to print a/v sync infos in ffmpeg without having
> >>>> decoder/encoder debug info. Very usefull IMHO when debugging.
> >>>>
> >>>> It changes CLI a bit but you still use -debug
> >>>>
> >>>> Any objection ?
> >>> yes, your patch remvose the only way by which the user can set the
> >>> av_log verbosity at least i dont immedeatly see another
> >> is -loglevel ok ?
> >>
> >> AV_LOG_QUIET is -8 AV_LOG_DEBUG is 48, OPT_INT seems ok since
> >> av_log_level is int.
> >>
> > 
> >> I don't get why verbose limits are INT64 and -10/10 ? Any explanation ?
> > 
> > historic
> > the AV_LOG levels changed with the last bump this apparently was forgotten
> 
> Ok, do you want me to change it like this ?

the OPT_INT looks better, iam not sure if INT_MIN/MAX makes sense for
ffmpeg.c verbosity variable (compared to av_logs verbosity)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090315/e1f6d651/attachment.pgp>



More information about the ffmpeg-devel mailing list