[vlc-devel] commit: rate-(slower|faster) again. ( Rémi Duraffort )

git version control git at videolan.org
Fri Nov 20 15:44:30 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Nov 20 15:43:43 2009 +0100| [66a90b9b908e3618be0ce09f06c5bb7ab73e23a1] | committer: Rémi Duraffort 

rate-(slower|faster) again.

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

 modules/gui/skins2/commands/cmd_input.cpp |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/modules/gui/skins2/commands/cmd_input.cpp b/modules/gui/skins2/commands/cmd_input.cpp
index ea71409..56915df 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 );
     }
 }




More information about the vlc-devel mailing list