[FFmpeg-devel] [PATCH] av_log repeating

Michael Niedermayer michaelni
Tue Sep 14 00:24:36 CEST 2010


On Mon, Sep 13, 2010 at 11:13:36PM +0100, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> > Hi
> >
> > patch below disabled the (hated by some) repeating in av_log() and adds an
> > option for apps to turn it on again
> >
> > comments?
> >
> > (yes ill bump vers & add appchanges entry if people agree to this)
> >
> > alternatively we can also completely drop the repeat code ...
> 
> It was fine before your last change.  Now it spews just as many
> messages as without repeat detection.  It makes log files horrible to
> read if there are many repeated messages.
> 
> Printing the increasing counter with \r might be acceptable on a
> terminal (although it makes the next non-repeated message unreadable
> if it is shorter), but not otherwise.

we need a solution not complaints

btw, isnt there something on posix that can clean these \r in a terminal
simulating manner out of a file ?

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

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100914/ee7fa06f/attachment.pgp>



More information about the ffmpeg-devel mailing list