Commit 66a90b9b authored by Rémi Duraffort's avatar Rémi Duraffort

rate-(slower|faster) again.

parent 487dc849
...@@ -84,10 +84,7 @@ void CmdSlower::execute() ...@@ -84,10 +84,7 @@ void CmdSlower::execute()
if( pInput ) if( pInput )
{ {
vlc_value_t val; var_TriggerCallback( pInput, "rate-slower" );
val.b_bool = true;
var_Set( pInput, "rate-slower", val );
vlc_object_release( pInput ); vlc_object_release( pInput );
} }
} }
...@@ -100,10 +97,7 @@ void CmdFaster::execute() ...@@ -100,10 +97,7 @@ void CmdFaster::execute()
if( pInput ) if( pInput )
{ {
vlc_value_t val; var_TriggerCallback( pInput, "rate-faster" );
val.b_bool = true;
var_Set( pInput, "rate-faster", val );
vlc_object_release( pInput ); vlc_object_release( pInput );
} }
} }
......
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