[MPlayer-cvslog] r34047 - trunk/gui/interface.c
    ib 
    subversion at mplayerhq.hu
       
    Thu Sep  1 21:14:11 CEST 2011
    
    
  
Author: ib
Date: Thu Sep  1 21:14:11 2011
New Revision: 34047
Log:
Perform a wsHandleEvents() when playback ends.
This fixes a redraw problem with the subwindow (video window) image
that could appear twice (on a wrong position).
Modified:
   trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Sep  1 21:08:07 2011	(r34046)
+++ trunk/gui/interface.c	Thu Sep  1 21:14:11 2011	(r34047)
@@ -814,6 +814,8 @@ int gui(int what, void *data)
                 wsVisibleWindow(&guiApp.subWindow, wsHideWindow);
 
             gui(GUI_SET_STATE, (void *)GUI_STOP);
+
+            wsHandleEvents();
             uiSubRender = 1;
             wsSetBackgroundRGB(&guiApp.subWindow, guiApp.sub.R, guiApp.sub.G, guiApp.sub.B);
             wsClearWindow(guiApp.subWindow);
    
    
More information about the MPlayer-cvslog
mailing list