changeset 33829:2468dc935bed

Do not employ verbosity level MSGL_V for fatal errors.
author diego
date Sun, 24 Jul 2011 23:55:39 +0000
parents d2a42640b9d7
children f1cae258e3c7
files codec-cfg.c libao2/ao_sun.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.c	Sun Jul 24 23:55:38 2011 +0000
+++ b/codec-cfg.c	Sun Jul 24 23:55:39 2011 +0000
@@ -558,7 +558,7 @@
     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;
     }
 
--- a/libao2/ao_sun.c	Sun Jul 24 23:55:38 2011 +0000
+++ b/libao2/ao_sun.c	Sun Jul 24 23:55:39 2011 +0000
@@ -188,7 +188,7 @@
 	    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;
 	}