[FFmpeg-devel] [PATCH] Don't let error messages overwrite progress information

Michael Niedermayer michaelni
Wed Oct 27 11:59:38 CEST 2010


On Wed, Oct 27, 2010 at 11:34:04AM +0200, Jean Delvare wrote:
> Hi Michael,
> 
> On Wed, 27 Oct 2010 11:19:18 +0200, Michael Niedermayer wrote:
> > On Mon, Oct 25, 2010 at 11:11:18AM +0200, Jean Delvare wrote:
> > > Don't let error messages overwrite progress information.
> > > 
> > > I am (unfortunately) often dealing with damaged input files, and I
> > > want to be able to check, after encoding, how visible/audible the
> > > errors are. In order to do this, I need to know at which time offset
> > > to look, which is only possible if the progress information isn't
> > > overwritten by the error messages.
> > > 
> > > For this reason, I suggest adding a new line before printing the
> > > first line of every warning/error message.
> > 
> > this looks like a hack
> 
> This is the best I could come up with. Do you have a better proposal?
> I'm all hears.

Problem is that we dont want the status line to overwrite something else
so keep track of the last thing printed and add a \n as needed


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

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- 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/20101027/7d3f055e/attachment.pgp>



More information about the ffmpeg-devel mailing list