[vlc-commits] hotkey: DisplayMessage() prototype has a channel argment

Can Wu git at videolan.org
Sat Apr 23 00:17:17 CEST 2011


vlc | branch: master | Can Wu <wu.canus at gmail.com> | Fri Apr 22 15:12:28 2011 +0800| [c6c04f2826baba0da437c431d78616c3b3ce34d2] | committer: Jean-Baptiste Kempf

hotkey: DisplayMessage() prototype has a channel argment

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6c04f2826baba0da437c431d78616c3b3ce34d2
---

 modules/control/hotkeys.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 664d39c..a697611 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -75,8 +75,8 @@ static void DisplayRate ( vout_thread_t *, float );
 static float AdjustRateFine( input_thread_t *, const int );
 static void ClearChannels  ( intf_thread_t *, vout_thread_t * );
 
-#define DisplayMessage(vout, fmt, ...) \
-    do { if(vout) vout_OSDMessage(vout, fmt, __VA_ARGS__); } while(0)
+#define DisplayMessage(vout, ch, fmt, ...) \
+    do { if(vout) vout_OSDMessage(vout, ch, fmt, __VA_ARGS__); } while(0)
 #define DisplayIcon(vout, icon) \
     do { if(vout) vout_OSDIcon(vout, SPU_DEFAULT_CHANNEL, icon); } while(0)
 



More information about the vlc-commits mailing list