[vlc-devel] commit: rate-(slower|faster) are void variable so we only want to trigger the callbacks. ( Rémi Duraffort )
git version control
git at videolan.org
Fri Nov 20 15:34:40 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Nov 20 15:34:22 2009 +0100| [487dc8498dfea8e73901cbc91850aab9e4e32ce3] | committer: Rémi Duraffort
rate-(slower|faster) are void variable so we only want to trigger the callbacks.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=487dc8498dfea8e73901cbc91850aab9e4e32ce3
---
modules/gui/wince/interface.cpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/gui/wince/interface.cpp b/modules/gui/wince/interface.cpp
index 00035dd..5b5f636 100644
--- a/modules/gui/wince/interface.cpp
+++ b/modules/gui/wince/interface.cpp
@@ -845,9 +845,8 @@ void Interface::OnSlowStream( void )
vlc_object_find( p_intf, VLC_OBJECT_INPUT, FIND_ANYWHERE );
if( p_input == NULL ) return;
-
vlc_value_t val; val.b_bool = true;
- var_Set( p_input, "rate-slower", val );
+ var_TriggerCallback( p_input, "rate-slower" );
vlc_object_release( p_input );
}
@@ -858,8 +857,7 @@ void Interface::OnFastStream( void )
if( p_input == NULL ) return;
- vlc_value_t val; val.b_bool = true;
- var_Set( p_input, "rate-faster", val );
+ var_TriggerCallback( p_input, "rate-faster" );
vlc_object_release( p_input );
}
More information about the vlc-devel
mailing list