Commit 2ec1057c authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Use the new vout_OSDMessage on the new hotkeys functions.

parent a6233ea0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* hotkeys.c: Hotkey handling for vlc * hotkeys.c: Hotkey handling for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: hotkeys.c,v 1.5 2003/10/30 22:34:48 hartman Exp $ * $Id: hotkeys.c,v 1.6 2003/10/30 23:17:59 hartman Exp $
* *
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* *
...@@ -271,32 +271,32 @@ static void Run( intf_thread_t *p_intf ) ...@@ -271,32 +271,32 @@ static void Run( intf_thread_t *p_intf )
} }
else if( i_action == ACTIONID_JUMP_BACKWARD_10SEC ) else if( i_action == ACTIONID_JUMP_BACKWARD_10SEC )
{ {
Feedback( p_intf, _( "Jump -10 seconds" ) ); vout_OSDMessage( p_intf, _( "Jump -10 seconds" ) );
input_Seek( p_input, -10, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR ); input_Seek( p_input, -10, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR );
} }
else if( i_action == ACTIONID_JUMP_FORWARD_10SEC ) else if( i_action == ACTIONID_JUMP_FORWARD_10SEC )
{ {
Feedback( p_intf, _( "Jump +10 seconds" ) ); vout_OSDMessage( p_intf, _( "Jump +10 seconds" ) );
input_Seek( p_input, 10, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR ); input_Seek( p_input, 10, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR );
} }
else if( i_action == ACTIONID_JUMP_BACKWARD_1MIN ) else if( i_action == ACTIONID_JUMP_BACKWARD_1MIN )
{ {
Feedback( p_intf, _( "Jump -1 minute" ) ); vout_OSDMessage( p_intf, _( "Jump -1 minute" ) );
input_Seek( p_input, -60, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR ); input_Seek( p_input, -60, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR );
} }
else if( i_action == ACTIONID_JUMP_FORWARD_1MIN ) else if( i_action == ACTIONID_JUMP_FORWARD_1MIN )
{ {
Feedback( p_intf, _( "Jump +1 minute" ) ); vout_OSDMessage( p_intf, _( "Jump +1 minute" ) );
input_Seek( p_input, 60, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR ); input_Seek( p_input, 60, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR );
} }
else if( i_action == ACTIONID_JUMP_BACKWARD_5MIN ) else if( i_action == ACTIONID_JUMP_BACKWARD_5MIN )
{ {
Feedback( p_intf, _( "Jump -5 minutes" ) ); vout_OSDMessage( p_intf, _( "Jump -5 minutes" ) );
input_Seek( p_input, -300, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR ); input_Seek( p_input, -300, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR );
} }
else if( i_action == ACTIONID_JUMP_FORWARD_5MIN ) else if( i_action == ACTIONID_JUMP_FORWARD_5MIN )
{ {
Feedback( p_intf, _( "Jump +5 minutes" ) ); vout_OSDMessage( p_intf, _( "Jump +5 minutes" ) );
input_Seek( p_input, 300, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR ); input_Seek( p_input, 300, INPUT_SEEK_SECONDS|INPUT_SEEK_CUR );
} }
else if( i_action == ACTIONID_NEXT ) else if( i_action == ACTIONID_NEXT )
......
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