From 30ef0221b265637431da31ac70d1e447008b56d3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Mon, 17 May 2010 17:24:24 +0200 Subject: [PATCH] Qt: reset rate display at new input Close #3627 (cherry picked from commit 5bf9231283106ed14d0eb3272da2db4e60fc6f2e) Signed-off-by: Jean-Baptiste Kempf --- modules/gui/qt4/input_manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp index b5058e1ef7..02610d1e23 100644 --- a/modules/gui/qt4/input_manager.cpp +++ b/modules/gui/qt4/input_manager.cpp @@ -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 ) { -- 2.11.4.GIT