Commit c6c04f28 authored by Can Wu's avatar Can Wu Committed by Jean-Baptiste Kempf

hotkey: DisplayMessage() prototype has a channel argment

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ef1d21d9
...@@ -75,8 +75,8 @@ static void DisplayRate ( vout_thread_t *, float ); ...@@ -75,8 +75,8 @@ static void DisplayRate ( vout_thread_t *, float );
static float AdjustRateFine( input_thread_t *, const int ); static float AdjustRateFine( input_thread_t *, const int );
static void ClearChannels ( intf_thread_t *, vout_thread_t * ); static void ClearChannels ( intf_thread_t *, vout_thread_t * );
#define DisplayMessage(vout, fmt, ...) \ #define DisplayMessage(vout, ch, fmt, ...) \
do { if(vout) vout_OSDMessage(vout, fmt, __VA_ARGS__); } while(0) do { if(vout) vout_OSDMessage(vout, ch, fmt, __VA_ARGS__); } while(0)
#define DisplayIcon(vout, icon) \ #define DisplayIcon(vout, icon) \
do { if(vout) vout_OSDIcon(vout, SPU_DEFAULT_CHANNEL, icon); } while(0) do { if(vout) vout_OSDIcon(vout, SPU_DEFAULT_CHANNEL, icon); } while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment