[Mplayer-cvslog] CVS: main/libvo vo_xvidix.c,1.24,1.25

Nick Kurshev nick at mplayer.dev.hu
Mon Mar 11 09:48:09 CET 2002


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

Modified Files:
	vo_xvidix.c 
Log Message:
Fixed default background color for proper color key usage

Index: vo_xvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvidix.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- vo_xvidix.c	7 Mar 2002 17:50:25 -0000	1.24
+++ vo_xvidix.c	11 Mar 2002 08:48:06 -0000	1.25
@@ -296,7 +296,7 @@
         window_depth = 24;
     XMatchVisualInfo(mDisplay, mScreen, window_depth, TrueColor, &vinfo);
 
-    xswa.background_pixel = BlackPixel(mDisplay, mScreen);
+    xswa.background_pixel = fgColor; //BlackPixel(mDisplay, mScreen);
     xswa.border_pixel     = 0;
     xswa.colormap         = XCreateColormap(mDisplay, RootWindow(mDisplay, mScreen),
 					    vinfo.visual, AllocNone);




More information about the MPlayer-cvslog mailing list