[MPlayer-dev-eng] [PATCH] MPlayer console output

Joey Parrish joey at nicewarrior.org
Wed Apr 14 16:26:38 CEST 2004


On Wed, Apr 14, 2004 at 12:38:31AM -0700, adland wrote:
> Please consider the following patch
> for a much cleaner console output

> +  for (i=1;i<argc;i++)
> +    if (!strcmp(argv[i],"-v")) vbosity++;
> +
>    mp_msg_init();
> -  mp_msg_set_level(MSGL_STATUS);
> +  mp_msg_set_level(MSGL_STATUS+vbosity);

This is stupid, MPlayer already has a verbosity variable that already
does exactly this.  And lots of your changes are nonsense.  If there's
an error, leave it as MSGL_ERR.  If you don't want to see so much, try
-quiet.  If you want to see none, try a front-end, gui, or &> /dev/null.

--Joey

-- 
"I know Kung Fu." --Darth Vader




More information about the MPlayer-dev-eng mailing list