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

ib subversion at mplayerhq.hu
Thu Jan 24 13:58:17 CET 2013


Author: ib
Date: Thu Jan 24 13:58:17 2013
New Revision: 35841

Log:
Move assignment to uiMainRender to a more appropriate place.

Additionally, disable uiVideoRender as well
(before we're going to remove our windows).

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Jan 24 13:49:15 2013	(r35840)
+++ trunk/gui/interface.c	Thu Jan 24 13:58:17 2013	(r35841)
@@ -254,8 +254,6 @@ void guiInit(void)
 void guiDone(void)
 {
     if (initialized) {
-        uiMainRender = False;
-
         if (gui_save_pos) {
             gui_main_pos_x  = guiApp.mainWindow.X;
             gui_main_pos_y  = guiApp.mainWindow.Y;
@@ -270,6 +268,9 @@ void guiDone(void)
 
         cfg_write();
 
+        uiVideoRender = False;
+        uiMainRender  = False;
+
         // NOTE TO MYSELF: destroy the windows
 
         wsDone();


More information about the MPlayer-cvslog mailing list