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

Nick Kurshev nick at mplayer.dev.hu
Mon Mar 11 10:01:46 CET 2002


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

Modified Files:
	vo_xvidix.c 
Log Message:
Fixed fullscreen mode

Index: vo_xvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvidix.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- vo_xvidix.c	11 Mar 2002 08:48:06 -0000	1.25
+++ vo_xvidix.c	11 Mar 2002 09:01:43 -0000	1.26
@@ -283,6 +283,8 @@
 	    d_width = vo_screenwidth;
 	    d_height = vo_screenheight;
     	}
+	window_width = vo_screenwidth;
+	window_height = vo_screenheight;
     }
 #endif
 
@@ -296,7 +298,7 @@
         window_depth = 24;
     XMatchVisualInfo(mDisplay, mScreen, window_depth, TrueColor, &vinfo);
 
-    xswa.background_pixel = fgColor; //BlackPixel(mDisplay, mScreen);
+    xswa.background_pixel = vo_fs ? BlackPixel(mDisplay, mScreen) : fgColor;
     xswa.border_pixel     = 0;
     xswa.colormap         = XCreateColormap(mDisplay, RootWindow(mDisplay, mScreen),
 					    vinfo.visual, AllocNone);




More information about the MPlayer-cvslog mailing list