[Mplayer-cvslog] CVS: main/libvo vo_directx.c,1.37,1.38

Sascha Sommer CVS syncmail at mplayerhq.hu
Wed Sep 22 18:26:55 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv1032/libvo

Modified Files:
	vo_directx.c 
Log Message:
100l

Index: vo_directx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directx.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- vo_directx.c	26 Aug 2004 22:15:26 -0000	1.37
+++ vo_directx.c	22 Sep 2004 16:26:53 -0000	1.38
@@ -1160,16 +1160,16 @@
 static uint32_t
 config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t options, char *title, uint32_t format)
 {
+    RECT rd;
 	vo_screenwidth = GetSystemMetrics(SM_CXSCREEN);
 	vo_screenheight = GetSystemMetrics(SM_CYSCREEN);
     vo_fs = options & 0x01;
-    RECT rd;
 	image_format =  format;
 	image_width = width;
 	image_height = height;
 	d_image_width = d_width;
 	d_image_height = d_height;
-    nooverlay = 0;
+    if(format != primary_image_format)nooverlay = 0;
     aspect_save_orig(image_width,image_height);
     aspect_save_prescale(d_image_width,d_image_height);
     if(vidmode){




More information about the MPlayer-cvslog mailing list