Commit 5bf92312 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: reset rate display at new input

Close #3627
parent 9a2fcda2
...@@ -79,7 +79,7 @@ InputManager::InputManager( QObject *parent, intf_thread_t *_p_intf) : ...@@ -79,7 +79,7 @@ InputManager::InputManager( QObject *parent, intf_thread_t *_p_intf) :
artUrl = ""; artUrl = "";
p_input = NULL; p_input = NULL;
p_input_vbi = NULL; p_input_vbi = NULL;
f_rate = 0; f_rate = 1.;
p_item = NULL; p_item = NULL;
b_video = false; b_video = false;
timeA = 0; timeA = 0;
...@@ -139,6 +139,7 @@ void InputManager::delInput() ...@@ -139,6 +139,7 @@ void InputManager::delInput()
b_video = false; b_video = false;
timeA = 0; timeA = 0;
timeB = 0; timeB = 0;
f_rate = 1. ;
if( p_input_vbi ) 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