[MPlayer-cvslog] r23607 - trunk/libvo/w32_common.c

reimar subversion at mplayerhq.hu
Sat Jun 23 00:06:58 CEST 2007


Author: reimar
Date: Sat Jun 23 00:06:58 2007
New Revision: 23607

Log:
Hack around some fullscreen issues with gl under Windows
(non-fullscreen window would not always return to original size).

Modified:
   trunk/libvo/w32_common.c

Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c	(original)
+++ trunk/libvo/w32_common.c	Sat Jun 23 00:06:58 2007
@@ -277,6 +277,9 @@ static int createRenderingContext(void) 
         vo_dx = xinerama_x;
         vo_dy = xinerama_y;
     } else {
+        // make sure there are no "stale" resize events
+        // that would set vo_d* to wrong values
+        vo_w32_check_events();
         vo_dwidth = prev_width;
         vo_dheight = prev_height;
         vo_dx = prev_x;



More information about the MPlayer-cvslog mailing list