]> git.sesse.net Git - vlc/commitdiff
Update the rate value when setting the input.
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 2 Mar 2010 22:19:06 +0000 (23:19 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 2 Mar 2010 22:19:06 +0000 (23:19 +0100)
modules/gui/qt4/input_manager.cpp

index 42e46dd68e434f1e753fd219e29bcb45b316a760..5a48df962e4583c07f951a8068d1de24e1cde754 100644 (file)
@@ -111,6 +111,7 @@ void InputManager::setInput( input_thread_t *_p_input )
         UpdateVout();
         addCallbacks();
         p_item = input_GetItem( p_input );
+        emit rateChanged( INPUT_RATE_DEFAULT / var_GetFloat( p_input, "rate" ) );
     }
     else
     {