[MPlayer-cvslog] CVS: main/libmpcodecs ve_vfw.c, 1.22, 1.23 vf_phase.c, 1.5, 1.6 vf_tile.c, 1.3, 1.4

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon Mar 27 09:22:50 CEST 2006


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv11965/libmpcodecs

Modified Files:
	ve_vfw.c vf_phase.c vf_tile.c 
Log Message:
Change 'if(verbose)' to the more appropriate mp_msg_test.


Index: ve_vfw.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_vfw.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ve_vfw.c	21 Mar 2006 21:26:40 -0000	1.22
+++ ve_vfw.c	27 Mar 2006 07:22:47 -0000	1.23
@@ -126,7 +126,7 @@
     for(i=sizeof(output_bih);i<temp_len;i++) mp_msg(MSGT_WIN32, MSGL_DBG2, "%02X ",temp[i]);
   }
 
-//  if(verbose) {
+//  if( mp_msg_test(MSGT_WIN32,MSGL_V) ) {
     printf("Starting compression:\n");
     printf(" Input format:\n");
 	printf("  biSize %d\n", input_bih->biSize);

Index: vf_phase.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_phase.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vf_phase.c	21 Mar 2006 21:26:41 -0000	1.5
+++ vf_phase.c	27 Mar 2006 07:22:47 -0000	1.6
@@ -166,7 +166,7 @@
 	 mode=PROGRESSIVE;
       }
 
-   if(verbose)
+   if( mp_msg_test(MSGT_VFILTER,MSGL_V) )
       {
       printf("%c", mode==BOTTOM_FIRST?'b':mode==TOP_FIRST?'t':'p');
       if(tdiff==65536.0) printf("     N/A "); else printf(" %8.2f", tdiff);

Index: vf_tile.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_tile.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vf_tile.c	21 Mar 2006 21:26:42 -0000	1.3
+++ vf_tile.c	27 Mar 2006 07:22:47 -0000	1.4
@@ -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,




More information about the MPlayer-cvslog mailing list