[MPlayer-dev-eng] [PATCH] silence the overly verbose mov demuxer

Diego Biurrun diego at biurrun.de
Mon Mar 6 20:39:40 CET 2006


On Mon, Mar 06, 2006 at 11:35:32AM +0100, Dominik 'Rathann' Mierzejewski wrote:
> On Monday, 06 March 2006 at 11:30, Ivan Kalvachev wrote:
> > 2006/3/4, Diego Biurrun <diego at biurrun.de>:
> > > $subject
> > >
> > > A few printf removals are added in for free.  Objections?  Otherwise
> > > this will show up on -cvslog soon...
> > 
> > What is this your quest to remove all output from mplayer?
> 
> It's a Un*x paradigm not to output anything unless there's an error.

Precisely.  Eric Raymond calls it the "Rule of Silence" in The Art of
Unix Programming:

http://www.catb.org/~esr/writings/taoup/html/ch01s06.html#id2878450

"When a program has nothing surprising to say, it should say nothing."

> There's too much chatter from MPlayer by default and it's annoying sometimes.

Yes, MPlayer is much too verbose.  I find it annoying and I have had
users complain to me about it.  Plus it's a big problem when using
MEncoder in a pipe.

Diego




More information about the MPlayer-dev-eng mailing list