diff libmpcodecs/vf_tile.c @ 17969:843e0427b5b9

Change 'if(verbose)' to the more appropriate mp_msg_test.
author diego
date Mon, 27 Mar 2006 07:22:48 +0000
parents 20aca9baf5d8
children bcd805923554
line wrap: on
line diff
--- a/libmpcodecs/vf_tile.c	Mon Mar 27 06:59:00 2006 +0000
+++ b/libmpcodecs/vf_tile.c	Mon Mar 27 07:22:48 2006 +0000
@@ -47,9 +47,6 @@
 
 #include "libvo/fastmemcpy.h"
 
-/* external */
-extern int verbose;
-
 /* private data */
 struct vf_priv_s {
     /* configuration data */
@@ -290,7 +287,7 @@
     }
 
     /* Say what happen: use mp_msg(...)? */
-    if (verbose) {
+    if ( mp_msg_test(MSGT_VFILTER,MSGL_V) ) {
         printf("vf_tile: tiling %d * %d, output every %d frames\n",
                p->xtile,
                p->ytile,