[FFmpeg-devel] [PATCH] Add log severity level to default log formatting

Michael Niedermayer michaelni at gmx.at
Sat Mar 29 13:07:31 CET 2014


On Thu, Feb 27, 2014 at 03:59:11PM -0800, hjiodjf 97xgw46 wrote:
> On Tue, Feb 18, 2014 at 3:14 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> > hjiodjf 97xgw46 <jfbvxt <at> gmail.com> writes:
> >
> >> Here is an updated patch
> >
> > The patch does not apply here.
> > Please checkout current git head and please either
> > use git commit and git format-patch or git diff
> > from the main directory.
> >
> >> that fixes the issue with the format_line
> >> declaration and adds messages for PANIC and QUIET.
> >
> > Does it add these messages unconditionally?
> > Please add an option that is disabled by default.
> >
> > Carl Eugen
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> Here is a patch against git HEAD. It does add these messages
> unconditionally. I am not opposed to making it optional, but I don't
> see where to add this option. av_log_format_line is part of the public
> API and its signature is:
> 
> void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl,
>                         char *line, int line_size, int *print_prefix)

you can add a flag similar to the existing

#define AV_LOG_SKIP_REPEATED 1

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140329/4ede1031/attachment.asc>


More information about the ffmpeg-devel mailing list