changeset 33660:40a5f2faa22c

Rename guiGetEvent type guiSetValues guiSetVideo.
author ib
date Tue, 28 Jun 2011 07:31:35 +0000
parents 2aaf812ef014
children b2071e60b20b
files gui/interface.c gui/interface.h gui/win32/interface.c mplayer.c
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Jun 27 19:39:57 2011 +0000
+++ b/gui/interface.c	Tue Jun 28 07:31:35 2011 +0000
@@ -704,7 +704,7 @@
         }
         break;
 
-    case guiSetValues:
+    case guiSetVideo:
 
         // video
 
--- a/gui/interface.h	Mon Jun 27 19:39:57 2011 +0000
+++ b/gui/interface.h	Tue Jun 28 07:31:35 2011 +0000
@@ -48,7 +48,7 @@
 #define guiReDraw          10
 #define guiSetVolume       11
 #define guiSetDefaults     12
-#define guiSetValues       13
+#define guiSetVideo        13
 #define guiPreparation     16
 #define guiSetAfilter      17
 #define guiSetContext      18
--- a/gui/win32/interface.c	Mon Jun 27 19:39:57 2011 +0000
+++ b/gui/win32/interface.c	Tue Jun 28 07:31:35 2011 +0000
@@ -590,7 +590,7 @@
         case guiSetContext:
             guiInfo.mpcontext = arg;
             break;
-        case guiSetValues:
+        case guiSetVideo:
         {
             guiInfo.sh_video = arg;
             if (arg)
--- a/mplayer.c	Mon Jun 27 19:39:57 2011 +0000
+++ b/mplayer.c	Tue Jun 28 07:31:35 2011 +0000
@@ -3679,7 +3679,7 @@
         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