[MPlayer-cvslog] r33746 - in trunk: gui/interface.c gui/interface.h gui/win32/interface.c mplayer.c

ib subversion at mplayerhq.hu
Mon Jun 27 21:25:04 CEST 2011


Author: ib
Date: Mon Jun 27 21:25:04 2011
New Revision: 33746

Log:
Rename guiGetEvent type guiSetParameters guiPreparation.

Modified:
   trunk/gui/interface.c
   trunk/gui/interface.h
   trunk/gui/win32/interface.c
   trunk/mplayer.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Mon Jun 27 21:14:45 2011	(r33745)
+++ trunk/gui/interface.c	Mon Jun 27 21:25:04 2011	(r33746)
@@ -785,7 +785,7 @@ int guiGetEvent(int type, void *arg)
 
         break;
 
-    case guiSetParameters:
+    case guiPreparation:
 
         guiGetEvent(guiSetDefaults, NULL);
 

Modified: trunk/gui/interface.h
==============================================================================
--- trunk/gui/interface.h	Mon Jun 27 21:14:45 2011	(r33745)
+++ trunk/gui/interface.h	Mon Jun 27 21:25:04 2011	(r33746)
@@ -49,7 +49,7 @@ extern int use_gui;             // this 
 #define guiSetVolume       11
 #define guiSetDefaults     12
 #define guiSetValues       13
-#define guiSetParameters   16
+#define guiPreparation     16
 #define guiSetAfilter      17
 #define guiSetContext      18
 

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Mon Jun 27 21:14:45 2011	(r33745)
+++ trunk/gui/win32/interface.c	Mon Jun 27 21:25:04 2011	(r33746)
@@ -174,7 +174,7 @@ static void guiSetEvent(int event)
             GetVolumeInformation(dvd_device, dvdname, MAX_PATH, NULL, NULL, NULL, NULL, 0);
             capitalize(dvdname);
             mp_msg(MSGT_GPLAYER, MSGL_V, "Opening DVD %s -> %s\n", dvd_device, dvdname);
-            guiGetEvent(guiSetParameters, (void *) STREAMTYPE_DVD);
+            guiGetEvent(guiPreparation, (void *) STREAMTYPE_DVD);
             mygui->playlist->clear_playlist(mygui->playlist);
             mygui->playlist->add_track(mygui->playlist, filename, NULL, dvdname, 0);
             mygui->startplay(mygui);
@@ -551,7 +551,7 @@ int guiGetEvent(int type, void *arg)
 
     switch (type)
     {
-        case guiSetParameters:
+        case guiPreparation:
         {
             guiGetEvent(guiSetDefaults, NULL);
             guiInfo.DiskChanged = 0;

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Mon Jun 27 21:14:45 2011	(r33745)
+++ trunk/mplayer.c	Mon Jun 27 21:25:04 2011	(r33746)
@@ -3101,7 +3101,7 @@ play_next_file:
                 mp_cmd_free(cmd);
             }
         }
-        guiGetEvent(guiSetParameters, NULL);
+        guiGetEvent(guiPreparation, NULL);
         if (guiInfo.StreamType == STREAMTYPE_STREAM) {
             play_tree_t *entry = play_tree_new();
             play_tree_add_file(entry, guiInfo.Filename);


More information about the MPlayer-cvslog mailing list