[MPlayer-dev-eng] [PATCH] nostatus-line option

Oded Shimon ods15 at ods15.dyndns.org
Fri May 18 17:08:52 CEST 2007


On Fri, May 18, 2007 at 04:57:44PM +0200, Diego Biurrun wrote:
> Attila wanted it, I've been meaning to implement it for ages, here it
> is: A small option that turns off displaying of the status line.  Useful
> if you wish to have full debug output but your terminal is slow or you
> wish to redirect output to a file without the status line crap.
> 
> Comments welcome.  If somebody has a better name, that is also welcome.

Uhh, -quiet behaves EXACTLY the same... Unless I'm missing something.

Try it: mplayer -v -v -quiet

Verbose output, no status line...

Also, for finer tuning, '-msglevel avsync=0' etc.

> @@ -2418,15 +2419,10 @@
>  
>  /* Check codecs.conf. */
>  if(!codecs_file || !parse_codec_cfg(codecs_file)){
> -  if(!parse_codec_cfg(mem_ptr=get_path("codecs.conf"))){
> -    if(!parse_codec_cfg(MPLAYER_CONFDIR "/codecs.conf")){
>        if(!parse_codec_cfg(NULL)){
>          exit_player_with_rc(NULL, 0);
>        }
>        mp_msg(MSGT_CPLAYER,MSGL_V,MSGTR_BuiltinCodecsConf);
> -    }
> -  }
> -  free( mem_ptr ); // release the buffer created by get_path()

Probably not supposed to be here...

- ods15



More information about the MPlayer-dev-eng mailing list