[Ffmpeg-devel] Re: [PATCH] avutil/log output

Michael Niedermayer michaelni
Thu Oct 19 12:48:02 CEST 2006


Hi

On Thu, Oct 19, 2006 at 10:13:16AM +0000, Alexey Sidelnikov wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> > > +
> > > +        case AV_LOG_ERROR:
> > > +            log_out_file = stderr;
> > > +            break;
> > > +
> > > +        case AV_LOG_INFO: case AV_LOG_DEBUG:
> > > +            log_out_file = stdout;
> > 
> > totally breaks outputing to stdout, you would have the debug messages
> > embeded at random locations within your avi file ...
> 
> 
> ohh... thanks for your patience! So means stdout MUST NOT be used when program
> runs, may be except logos/help? Otherwise it will break piped output, right?

yes

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

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list