[MPlayer-cvslog] r33917 - in trunk: codec-cfg.c libao2/ao_sun.c

diego subversion at mplayerhq.hu
Mon Jul 25 01:55:39 CEST 2011


Author: diego
Date: Mon Jul 25 01:55:39 2011
New Revision: 33917

Log:
Do not employ verbosity level MSGL_V for fatal errors.

Modified:
   trunk/codec-cfg.c
   trunk/libao2/ao_sun.c

Modified: trunk/codec-cfg.c
==============================================================================
--- trunk/codec-cfg.c	Mon Jul 25 01:55:38 2011	(r33916)
+++ trunk/codec-cfg.c	Mon Jul 25 01:55:39 2011	(r33917)
@@ -558,7 +558,7 @@ int parse_codec_cfg(const char *cfgfile)
     mp_msg(MSGT_CODECCFG, MSGL_V, "Reading %s: ", cfgfile);
 
     if ((fp = fopen(cfgfile, "r")) == NULL) {
-        mp_msg(MSGT_CODECCFG,MSGL_V,MSGTR_CantOpenFileError, cfgfile, strerror(errno));
+        mp_msg(MSGT_CODECCFG, MSGL_FATAL, MSGTR_CantOpenFileError, cfgfile, strerror(errno));
         return 0;
     }
 

Modified: trunk/libao2/ao_sun.c
==============================================================================
--- trunk/libao2/ao_sun.c	Mon Jul 25 01:55:38 2011	(r33916)
+++ trunk/libao2/ao_sun.c	Mon Jul 25 01:55:39 2011	(r33917)
@@ -188,7 +188,7 @@ static int realtime_samplecounter_availa
 	    goto error;
 	}
 	if (info.play.samples < last_samplecnt) {
-            mp_msg(MSGT_AO, MSGL_V, "rtsc: %d > %d?\n", last_samplecnt, info.play.samples);
+            mp_msg(MSGT_AO, MSGL_ERR, "rtsc: %d > %d?\n", last_samplecnt, info.play.samples);
 	    goto error;
 	}
 


More information about the MPlayer-cvslog mailing list