[MPlayer-cvslog] CVS: main codec-cfg.c, 1.113, 1.114 mencoder.c, 1.256, 1.257 mplayer.c, 1.810, 1.811 parser-cfg.c, 1.6, 1.7

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon Nov 15 10:09:30 CET 2004


CVS change done by Diego Biurrun CVS

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

Modified Files:
	codec-cfg.c mencoder.c mplayer.c parser-cfg.c 
Log Message:
Reduce excessive verbosity.


Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- codec-cfg.c	14 Nov 2004 11:39:23 -0000	1.113
+++ codec-cfg.c	15 Nov 2004 09:09:27 -0000	1.114
@@ -503,10 +503,10 @@
 #endif
 	}
 	
-	mp_msg(MSGT_CODECCFG,MSGL_INFO,MSGTR_ReadingFile, cfgfile);
+	mp_msg(MSGT_CODECCFG,MSGL_V,MSGTR_ReadingFile, cfgfile);
 
 	if ((fp = fopen(cfgfile, "r")) == NULL) {
-		mp_msg(MSGT_CODECCFG,MSGL_ERR,MSGTR_CantOpenFileError, cfgfile, strerror(errno));
+		mp_msg(MSGT_CODECCFG,MSGL_V,MSGTR_CantOpenFileError, cfgfile, strerror(errno));
 		return 0;
 	}
 

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -r1.256 -r1.257
--- mencoder.c	9 Oct 2004 13:07:17 -0000	1.256
+++ mencoder.c	15 Nov 2004 09:09:27 -0000	1.257
@@ -390,7 +390,7 @@
 
   mp_msg_init();
   mp_msg_set_level(MSGL_STATUS);
-  mp_msg(MSGT_CPLAYER,MSGL_INFO, "MEncoder " VERSION " (C) 2000-2004 MPlayer Team\n\n");
+  mp_msg(MSGT_CPLAYER,MSGL_INFO, "MEncoder " VERSION " (C) 2000-2004 MPlayer Team\n");
 
   /* Test for cpu capabilities (and corresponding OS support) for optimizing */
   GetCpuCaps(&gCpuCaps);
@@ -435,7 +435,7 @@
 	mp_msg(MSGT_MENCODER,MSGL_HINT,MSGTR_CopyCodecsConf);
 	mencoder_exit(1,NULL);
       }
-      mp_msg(MSGT_MENCODER,MSGL_INFO,MSGTR_BuiltinCodecsConf);
+      mp_msg(MSGT_MENCODER,MSGL_V,MSGTR_BuiltinCodecsConf);
     }
   }
 }

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.810
retrieving revision 1.811
diff -u -r1.810 -r1.811
--- mplayer.c	13 Nov 2004 16:10:32 -0000	1.810
+++ mplayer.c	15 Nov 2004 09:09:27 -0000	1.811
@@ -973,7 +973,7 @@
   mp_msg_init();
   mp_msg_set_level(MSGL_STATUS);
 
-  mp_msg(MSGT_CPLAYER,MSGL_INFO, "MPlayer " VERSION " (C) 2000-2004 MPlayer Team\n\n");
+  mp_msg(MSGT_CPLAYER,MSGL_INFO, "MPlayer " VERSION " (C) 2000-2004 MPlayer Team\n");
   /* Test for cpu capabilities (and corresponding OS support) for optimizing */
   GetCpuCaps(&gCpuCaps);
 #ifdef ARCH_X86
@@ -1119,7 +1119,7 @@
 	mp_msg(MSGT_CPLAYER,MSGL_HINT,MSGTR_CopyCodecsConf);
         exit_player_with_rc(NULL, 0);
       }
-      mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_BuiltinCodecsConf);
+      mp_msg(MSGT_CPLAYER,MSGL_V,MSGTR_BuiltinCodecsConf);
     }
   }
   free( mem_ptr ); // release the buffer created by get_path()
@@ -1275,7 +1275,7 @@
     	    close (rtc_fd);
 	    rtc_fd = -1;
 	} else
-	    mp_msg(MSGT_CPLAYER, MSGL_INFO, MSGTR_UsingRTCTiming, irqp);
+	    mp_msg(MSGT_CPLAYER, MSGL_V, MSGTR_UsingRTCTiming, irqp);
     }
   }
 #ifdef HAVE_NEW_GUI
@@ -1285,7 +1285,7 @@
 #endif
     if(rtc_fd<0)
 #endif
-      mp_msg(MSGT_CPLAYER, MSGL_INFO, "Using %s timing\n",
+      mp_msg(MSGT_CPLAYER, MSGL_V, "Using %s timing\n",
 	     softsleep?"software":timer_name);
 
 #ifdef USE_TERMCAP
@@ -1439,7 +1439,6 @@
 #endif
 //---------------------------------------------------------------------------
 
-    mp_msg(MSGT_CPLAYER,MSGL_INFO,"\n");
     if(filename) mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Playing, filename);
 
 //==================== Open VOB-Sub ============================

Index: parser-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-cfg.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- parser-cfg.c	13 Aug 2003 16:44:39 -0000	1.6
+++ parser-cfg.c	15 Nov 2004 09:09:27 -0000	1.7
@@ -42,7 +42,7 @@
 	assert(config != NULL);
 	//	assert(conf_list != NULL);
 #endif
-	mp_msg(MSGT_CFGPARSER,MSGL_INFO,"Reading config file %s", conffile);
+	mp_msg(MSGT_CFGPARSER,MSGL_V,"Reading config file %s", conffile);
 
 	if (recursion_depth > MAX_RECURSION_DEPTH) {
 		mp_msg(MSGT_CFGPARSER,MSGL_ERR,": too deep 'include'. check your configfiles\n");
@@ -59,7 +59,7 @@
 	}
 
 	if ((fp = fopen(conffile, "r")) == NULL) {
-	  mp_msg(MSGT_CFGPARSER,MSGL_ERR,": %s\n", strerror(errno));
+	  mp_msg(MSGT_CFGPARSER,MSGL_V,": %s\n", strerror(errno));
 		free(line);
 		ret = 0;
 		goto out;




More information about the MPlayer-cvslog mailing list