Commit 9ac719c3 authored by Antoine Cellerier's avatar Antoine Cellerier

Update the rate value when setting the input.

parent 9658acc0
...@@ -111,6 +111,7 @@ void InputManager::setInput( input_thread_t *_p_input ) ...@@ -111,6 +111,7 @@ void InputManager::setInput( input_thread_t *_p_input )
UpdateVout(); UpdateVout();
addCallbacks(); addCallbacks();
p_item = input_GetItem( p_input ); p_item = input_GetItem( p_input );
emit rateChanged( INPUT_RATE_DEFAULT / var_GetFloat( p_input, "rate" ) );
} }
else else
{ {
......
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