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

Alexey Sidelnikov avs99
Thu Oct 19 12:13:16 CEST 2006


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?
Ic... yeah, i did not think about it at all. Thanks again!





More information about the ffmpeg-devel mailing list