[MPlayer-cvslog] r38512 - trunk/mplayer.c

ib subversion at mplayerhq.hu
Sun May 12 19:42:22 EEST 2024


Author: ib
Date: Sun May 12 19:42:22 2024
New Revision: 38512

Log:
Set the INITIALIZED_GUI flag after the GUI is initialized, not before.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sun May 12 19:41:08 2024	(r38511)
+++ trunk/mplayer.c	Sun May 12 19:42:22 2024	(r38512)
@@ -2827,7 +2827,6 @@ int main(int argc, char *argv[])
 #ifdef CONFIG_GUI
     if (use_gui) {
         gui(GUI_SET_CONTEXT, mpctx);
-        initialized_flags |= INITIALIZED_GUI;
         cfg_read();
     }
 #endif
@@ -3085,6 +3084,7 @@ int main(int argc, char *argv[])
 #ifdef CONFIG_GUI
     if (use_gui) {
         guiInit();
+        initialized_flags |= INITIALIZED_GUI;
         gui(GUI_SET_STATE, (void *)(intptr_t)(filename ? GUI_PLAY : GUI_STOP));
     }
 #endif


More information about the MPlayer-cvslog mailing list