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

Michael Niedermayer michaelni at gmx.at
Mon Mar 6 22:00:28 CET 2006


Hi

On Mon, Mar 06, 2006 at 08:19:39PM +0100, Erik Slagter wrote:
> On Mon, 2006-03-06 at 19:26 +0100, Michael Niedermayer wrote:
> > > As an example, if i don't hear any sound i want to be able to know if
> > > the file does not have an audio track, if it's unsupported, if ao is
> > > busy, or if i just forgot to switch on the speakers. And that without
> > > having to rerun MPlayer with verbose parameters.
> > 
> > fully agree, theres /dev/null -quiet and your eyelids already ...
> 
> Problem is that you won't see the warning/error messages either because
> 
>  - your eyelids are closed
>  - /dev/null is processing the output
>  - mplayer has filled your screen with barf

apply:

Index: mp_msg.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.c,v
retrieving revision 1.32
diff -u -r1.32 mp_msg.c
--- mp_msg.c	20 Jan 2006 20:38:46 -0000	1.32
+++ mp_msg.c	6 Mar 2006 20:52:39 -0000
@@ -1,5 +1,5 @@
 
-//#define MSG_USE_COLORS
+#define MSG_USE_COLORS
 
 #include <stdio.h>
 #include <stdlib.h>


[...]


-- 
Michael




More information about the MPlayer-dev-eng mailing list