Commit 30ef0221 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: reset rate display at new input

Close #3627
(cherry picked from commit 5bf9231283106ed14d0eb3272da2db4e60fc6f2e)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4f389d4b
......@@ -79,7 +79,7 @@ InputManager::InputManager( QObject *parent, intf_thread_t *_p_intf) :
artUrl = "";
p_input = NULL;
p_input_vbi = NULL;
f_rate = 0;
f_rate = 1.;
p_item = NULL;
b_video = false;
timeA = 0;
......@@ -139,6 +139,7 @@ void InputManager::delInput()
b_video = false;
timeA = 0;
timeB = 0;
f_rate = 1. ;
if( p_input_vbi )
{
......
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