[vlc-commits] skins2: adapt to recent change for rate/rate-faster/rate-slower

Erwan Tulou git at videolan.org
Fri Jan 28 19:29:33 CET 2011


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Fri Jan 28 17:04:11 2011 +0100| [d69bf360675736ac035fb70dc540a15b8a4399eb] | committer: Erwan Tulou

skins2: adapt to recent change for rate/rate-faster/rate-slower

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

 modules/gui/skins2/commands/cmd_input.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/skins2/commands/cmd_input.cpp b/modules/gui/skins2/commands/cmd_input.cpp
index 9262c0d..0461c4e 100644
--- a/modules/gui/skins2/commands/cmd_input.cpp
+++ b/modules/gui/skins2/commands/cmd_input.cpp
@@ -38,7 +38,7 @@ void CmdPlay::execute()
     input_thread_t *pInput = playlist_CurrentInput( pPlaylist );
     if( pInput )
     {
-        var_SetFloat( pInput, "rate", 1.0 );
+        var_SetFloat( pPlaylist, "rate", 1.0 );
         vlc_object_release( pInput );
     }
 
@@ -81,7 +81,7 @@ void CmdSlower::execute()
 
     if( pInput )
     {
-        var_TriggerCallback( pInput, "rate-slower" );
+        var_TriggerCallback( pPlaylist, "rate-slower" );
         vlc_object_release( pInput );
     }
 }
@@ -94,7 +94,7 @@ void CmdFaster::execute()
 
     if( pInput )
     {
-        var_TriggerCallback( pInput, "rate-faster" );
+        var_TriggerCallback( pPlaylist, "rate-faster" );
         vlc_object_release( pInput );
     }
 }



More information about the vlc-commits mailing list