[MPlayer-cvslog] r31095 - trunk/libvo/vo_sdl.c

reimar subversion at mplayerhq.hu
Sun Apr 25 18:48:48 CEST 2010


Author: reimar
Date: Sun Apr 25 18:48:48 2010
New Revision: 31095

Log:
Set vo_dwidth/vo_dheight for mouse movements work at least in windowed mode.
For fullscreen, vo_screenwidth/vo_screenheight have to be set correctly still.

Modified:
   trunk/libvo/vo_sdl.c

Modified: trunk/libvo/vo_sdl.c
==============================================================================
--- trunk/libvo/vo_sdl.c	Sun Apr 25 18:39:39 2010	(r31094)
+++ trunk/libvo/vo_sdl.c	Sun Apr 25 18:48:48 2010	(r31095)
@@ -583,6 +583,8 @@ static void set_video_mode(int width, in
         priv->surface = newsurface;
         priv->dstwidth = width;
         priv->dstheight = height;
+        vo_dwidth  = width;
+        vo_dheight = height;
 
         setup_surfaces();
     }


More information about the MPlayer-cvslog mailing list