From: Antoine Cellerier Date: Tue, 2 Mar 2010 22:19:06 +0000 (+0100) Subject: Update the rate value when setting the input. X-Git-Tag: 1.1.0-pre1~559 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9ac719c31809fb4f72abe7e6c98e6a9db0bc2cf5;p=vlc Update the rate value when setting the input. --- diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp index 42e46dd68e..5a48df962e 100644 --- a/modules/gui/qt4/input_manager.cpp +++ b/modules/gui/qt4/input_manager.cpp @@ -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 {