From 66a90b9b908e3618be0ce09f06c5bb7ab73e23a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Fri, 20 Nov 2009 15:43:43 +0100 Subject: [PATCH] rate-(slower|faster) again. --- modules/gui/skins2/commands/cmd_input.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/gui/skins2/commands/cmd_input.cpp b/modules/gui/skins2/commands/cmd_input.cpp index ea71409e24..56915df99c 100644 --- a/modules/gui/skins2/commands/cmd_input.cpp +++ b/modules/gui/skins2/commands/cmd_input.cpp @@ -84,10 +84,7 @@ void CmdSlower::execute() if( pInput ) { - vlc_value_t val; - val.b_bool = true; - - var_Set( pInput, "rate-slower", val ); + var_TriggerCallback( pInput, "rate-slower" ); vlc_object_release( pInput ); } } @@ -100,10 +97,7 @@ void CmdFaster::execute() if( pInput ) { - vlc_value_t val; - val.b_bool = true; - - var_Set( pInput, "rate-faster", val ); + var_TriggerCallback( pInput, "rate-faster" ); vlc_object_release( pInput ); } } -- 2.11.4.GIT