[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.28,1.29

Arpi of Ize arpi at mplayer.dev.hu
Tue Aug 7 01:59:52 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv14040/libvo

Modified Files:
	x11_common.c 
Log Message:
printfs cleanup - moved to higher -v level or moved to stderr

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- x11_common.c	6 Aug 2001 00:22:44 -0000	1.28
+++ x11_common.c	6 Aug 2001 23:59:50 -0000	1.29
@@ -21,6 +21,8 @@
 #include <X11/extensions/dpms.h>
 #endif
 
+extern verbose;
+
 static int dpms_disabled=0;
 static int timeout_save=0;
 
@@ -83,6 +85,7 @@
    bpp=mXImage->bits_per_pixel;
    if((vo_depthonscreen+7)/8 != (bpp+7)/8) vo_depthonscreen=bpp; // by A'rpi
    mask=mXImage->red_mask|mXImage->green_mask|mXImage->blue_mask;
+   if(verbose)
    printf("vo: X11 color mask:  %X  (R:%lX G:%lX B:%lX)\n",
      mask,mXImage->red_mask,mXImage->green_mask,mXImage->blue_mask);
    if(((vo_depthonscreen+7)/8)==2){




More information about the MPlayer-cvslog mailing list