only print last line warning if verbose is on
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 30 Dec 2001 00:57:35 +0000 (00:57 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 30 Dec 2001 00:57:35 +0000 (00:57 +0000)
Originally committed as revision 3884 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

postproc/swscale_template.c

index c1033da..c8f686a 100644 (file)
@@ -2180,7 +2180,7 @@ if(dststride%widthAlign !=0 )
                                widthAlign);
 }
 
-if(over>0)
+if(over>0 && verbose)
 {
        if(firstTime)
                fprintf(stderr, "SwScaler: Warning: output width is not a multiple of 8 (16 for YV12)\n"