[MPlayer-cvslog] r35571 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Mon Dec 3 11:20:46 CET 2012


Author: ib
Date: Mon Dec  3 11:20:46 2012
New Revision: 35571

Log:
Use correct video window parameters.

We have to resize to the skin's values here. (Since the guiInfo members
have been overwritten erroneously, it hasn't made a difference yet.)

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Mon Dec  3 03:56:16 2012	(r35570)
+++ trunk/gui/interface.c	Mon Dec  3 11:20:46 2012	(r35571)
@@ -820,7 +820,7 @@ int gui(int what, void *data)
                 guiInfo.VideoHeight = guiApp.video.height;
 
                 if (!guiApp.videoWindow.isFullScreen) {
-                    wsResizeWindow(&guiApp.videoWindow, guiInfo.VideoWidth, guiInfo.VideoHeight);
+                    wsResizeWindow(&guiApp.videoWindow, guiApp.video.width, guiApp.video.height);
                     wsMoveWindow(&guiApp.videoWindow, False, guiApp.video.x, guiApp.video.y);
                 }
 


More information about the MPlayer-cvslog mailing list