[MPlayer-cvslog] CVS: main mp_msg.c,1.31,1.32

Oded Shimon CVS syncmail at mplayerhq.hu
Fri Jan 20 21:38:48 CET 2006


CVS change done by Oded Shimon CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv17801

Modified Files:
	mp_msg.c 
Log Message:
MPLAYER_VERBOSE, new enviorment variable to control verbosity before init


Index: mp_msg.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- mp_msg.c	7 Dec 2005 05:12:07 -0000	1.31
+++ mp_msg.c	20 Jan 2006 20:38:46 -0000	1.32
@@ -26,6 +26,9 @@
 
 void mp_msg_init(){
     int i;
+    char *env = getenv("MPLAYER_VERBOSE");
+    if (env)
+        verbose = atoi(env);
 #ifdef USE_I18N
 #ifdef MP_DEBUG
     fprintf(stdout, "Using GNU internationalization\n");




More information about the MPlayer-cvslog mailing list