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

ib subversion at mplayerhq.hu
Tue Jun 28 09:31:36 CEST 2011


Author: ib
Date: Tue Jun 28 09:31:35 2011
New Revision: 33748

Log:
Rename guiGetEvent type guiSetValues guiSetVideo.

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:39:57 2011	(r33747)
+++ trunk/gui/interface.c	Tue Jun 28 09:31:35 2011	(r33748)
@@ -704,7 +704,7 @@ int guiGetEvent(int type, void *arg)
         }
         break;
 
-    case guiSetValues:
+    case guiSetVideo:
 
         // video
 

Modified: trunk/gui/interface.h
==============================================================================
--- trunk/gui/interface.h	Mon Jun 27 21:39:57 2011	(r33747)
+++ trunk/gui/interface.h	Tue Jun 28 09:31:35 2011	(r33748)
@@ -48,7 +48,7 @@ extern int use_gui;             // this 
 #define guiReDraw          10
 #define guiSetVolume       11
 #define guiSetDefaults     12
-#define guiSetValues       13
+#define guiSetVideo        13
 #define guiPreparation     16
 #define guiSetAfilter      17
 #define guiSetContext      18

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Mon Jun 27 21:39:57 2011	(r33747)
+++ trunk/gui/win32/interface.c	Tue Jun 28 09:31:35 2011	(r33748)
@@ -590,7 +590,7 @@ int guiGetEvent(int type, void *arg)
         case guiSetContext:
             guiInfo.mpcontext = arg;
             break;
-        case guiSetValues:
+        case guiSetVideo:
         {
             guiInfo.sh_video = arg;
             if (arg)

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Mon Jun 27 21:39:57 2011	(r33747)
+++ trunk/mplayer.c	Tue Jun 28 09:31:35 2011	(r33748)
@@ -3679,7 +3679,7 @@ goto_enable_cache:
         if (use_gui) {
             guiInfo.AudioChannels = mpctx->sh_audio ? mpctx->sh_audio->channels : 0;
             guiGetEvent(guiSetAudioOnly, (void *)(mpctx->sh_audio && !mpctx->sh_video));
-            if (guiGetEvent(guiSetValues, mpctx->sh_video))
+            if (guiGetEvent(guiSetVideo, mpctx->sh_video))
                 goto goto_next_file;
         }
 #endif


More information about the MPlayer-cvslog mailing list