[MPlayer-dev-eng] a few patches

Diego Biurrun diego at biurrun.de
Wed Jan 21 22:45:00 CET 2004


Oswald Buddenhagen writes:
 > mp-quiet.diff adds -quiet/-noquiet switches to mencoder. quiet simply
 > suppresses the progress information. this is a must-have when
 > redirecting output to a log file.
 >  
 > Index: cfg-mencoder.h
 > ===================================================================
 > RCS file: /cvsroot/mplayer/main/cfg-mencoder.h,v
 > retrieving revision 1.74
 > diff -U2 -r1.74 cfg-mencoder.h
 > --- cfg-mencoder.h	8 Dec 2003 12:43:48 -0000	1.74
 > +++ cfg-mencoder.h	16 Jan 2004 12:19:33 -0000
 > @@ -229,5 +229,6 @@
 >  #undef MAIN_CONF
 >  
 > -//	{"quiet", &quiet, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 > +	{"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
 > +	{"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
 >  	{"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE|CONF_GLOBAL, 0, 100, NULL},
 >  	{"v", cfg_inc_verbose, CONF_TYPE_FUNC, CONF_GLOBAL, 0, 0, NULL},

Since this is now a common option you should add this to cfg-common.h
and not cfg-mencoder.h (and remove the quiet option from
cfg-mplayer.h).

Diego




More information about the MPlayer-dev-eng mailing list