[MPlayer-cvslog] CVS: main codec-cfg.c,1.120,1.121

Oded Shimon CVS syncmail at mplayerhq.hu
Tue Dec 6 12:59:17 CET 2005


CVS change done by Oded Shimon CVS

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

Modified Files:
	codec-cfg.c 
Log Message:
100l, codec-cfg needs fixing after -msgl patch


Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- codec-cfg.c	30 Aug 2005 23:56:21 -0000	1.120
+++ codec-cfg.c	6 Dec 2005 11:59:14 -0000	1.121
@@ -886,6 +886,10 @@
 int use_gui = 0;
 #endif
 
+int mp_msg_levels[MSGT_MAX];
+int mp_msg_level_all = MSGL_STATUS;
+int verbose = 0;
+
 void wrapline(FILE *f2,char *s){
     int c;
     if(!s){
@@ -998,6 +1002,8 @@
         int dshow=-1;
         int win32ex=-1;
 
+	mp_msg_init();
+
 	/*
 	 * Take path to codecs.conf from command line, or fall back on
 	 * etc/codecs.conf
@@ -1146,11 +1152,17 @@
 #endif
 
 #ifdef TESTING
+int mp_msg_levels[MSGT_MAX];
+int mp_msg_level_all = MSGL_STATUS;
+int verbose = 0;
+
 int main(void)
 {
 	codecs_t *c;
         int i,j, nr_codecs, state;
 
+	mp_msg_init();
+
 	if (!(parse_codec_cfg("etc/codecs.conf")))
 		return 0;
 	if (!video_codecs)




More information about the MPlayer-cvslog mailing list