[MPlayer-dev-eng] MPlayer error messages going to 'stdout' instead of 'stderr'?

D Richard Felker III dalias at aerifal.cx
Mon May 5 08:40:11 CEST 2003


On Mon, May 05, 2003 at 01:17:09AM +0200, Arpi wrote:
> Hi,
> 
> > Is this really the case?  If so, these (error messages to 'stdout' instead 
> > of 'stderr') should all be tracked down and fixed, IMHO.  'stdout' should 
> > be left for pure stream output only, so that pipes can be used.
> > 
> >          Ross.
> 
> errors/warnings go to stderr, the rest (status, verbose, debug) to stdout
> 
> ah and those evil printf() uses somewhere insteda of mp_msg() by evil coders
> :)

Well, if it's all supposed to go through mp_msg, it would be very easy
to make the behavior configurable, so that users who wanted to keep
stdout clean could direct all messages to stderr. And such an option
could automatically be enabled when stdout is used as an output file.

Rich



More information about the MPlayer-dev-eng mailing list