[Mplayer-cvslog] CVS: main/libvo w32_common.c,1.1,1.2

Sascha Sommer CVS faust3 at mplayerhq.hu
Sun Nov 16 15:38:06 CET 2003


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

Modified Files:
	w32_common.c 
Log Message:
change vo_w32_fullscreen to behave like vo_x11_fullscreen patch by Reimar Doeffinger <someone-guy at gmx.de>

Index: w32_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/w32_common.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- w32_common.c	19 Sep 2003 14:33:51 -0000	1.1
+++ w32_common.c	16 Nov 2003 14:37:42 -0000	1.2
@@ -118,8 +118,8 @@
     vo_screenwidth = dm.dmPelsWidth;
     vo_screenheight = dm.dmPelsHeight;
     aspect_save_screenres(vo_screenwidth, vo_screenheight);
-    if (vo_fs)
-	aspect(&vo_dwidth, &vo_dheight, A_ZOOM);
+    vo_dwidth = vo_screenwidth;
+    vo_dheight = vo_screenheight;
 
     ChangeDisplaySettings(&dm, CDS_FULLSCREEN);
 }
@@ -264,4 +264,5 @@
     destroyRenderingContext();
     DestroyWindow(vo_hwnd);
     vo_hwnd = 0;
+    UnregisterClass(classname, 0);
 }



More information about the MPlayer-cvslog mailing list