[MPlayer-dev-eng] [PATCH] reduce swscaler verbosity

Oded Shimon ods15 at ods15.dyndns.org
Mon Sep 5 14:04:24 CEST 2005


On Mon, Sep 05, 2005 at 12:01:54PM +0200, Diego Biurrun wrote:
> Hi,
> 
> if nobody objects I will commit this hunk tomorrow:
> 
> --- postproc/swscale.c  20 May 2005 12:08:31 -0000      1.157
> +++ postproc/swscale.c  5 Sep 2005 09:56:21 -0000
> @@ -1118,7 +1118,7 @@
>         *outFilterSize= filterSize;
>  
>         if(flags&SWS_PRINT_INFO)
> -               MSG_INFO("SwScaler: reducing / aligning filtersize %d -> %d\n", filter2Size, filterSize);
> +               MSG_V("SwScaler: reducing / aligning filtersize %d -> %d\n", filter2Size, filterSize);
>         /* try to reduce the filter-size (step2 reduce it) */
>         for(i=0; i<dstW; i++)
>         {
> 
> It moves messages like the following to verbose mode:
> 
> SwScaler: reducing / aligning filtersize 5 -> 4
> SwScaler: reducing / aligning filtersize 5 -> 4
> SwScaler: reducing / aligning filtersize 5 -> 4
> SwScaler: reducing / aligning filtersize 5 -> 4

I know it's silly, but since these messages are quite loud, i use them to 
find out if vf_scale has been automatically added to the filter chain, and 
if it's doing any resizing or just converting colorspaces...

Whatever... I don't object, commit if you want.

- ods15




More information about the MPlayer-dev-eng mailing list