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

Jean Delvare khali
Wed Oct 27 11:34:04 CEST 2010


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.

Thanks,
-- 
Jean Delvare



More information about the ffmpeg-devel mailing list