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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jul 25 19:46:20 CEST 2011


On Mon, Jul 25, 2011 at 01:55:39AM +0200, diego wrote:
> 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));

That is not at all a fatal error, quite the opposite it will
probably make people create codecs.conf files they really should
not have.


More information about the MPlayer-cvslog mailing list