[vlc-commits] hotkey: code ACTION_RATE_NORMAL like similar functions
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:58 2011 +0800| [ef2aee4e6218166d4b0141591b52846231fab10b] | committer: Jean-Baptiste Kempf
hotkey: code ACTION_RATE_NORMAL like similar functions
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef2aee4e6218166d4b0141591b52846231fab10b
---
modules/control/hotkeys.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index a697611..8fdf603 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -714,8 +714,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
else if( i_action == ACTIONID_RATE_NORMAL )
{
var_SetFloat( p_playlist, "rate", 1. );
- DisplayMessage( p_vout, SPU_DEFAULT_CHANNEL,
- "%s", _("1.00x") );
+ DisplayRate( p_vout, var_GetFloat( p_input, "rate" ) );
}
else if( i_action == ACTIONID_FASTER )
{
More information about the vlc-commits
mailing list