]> git.sesse.net Git - vlc/commitdiff
Qt: reset rate display at new input
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 May 2010 15:24:24 +0000 (17:24 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 May 2010 15:24:24 +0000 (17:24 +0200)
Close #3627

modules/gui/qt4/input_manager.cpp

index b5058e1ef7be08c8fa5bfb939a9efad152bde8f8..02610d1e238d4aaf154cada9cfea9c5d5ad73ead 100644 (file)
@@ -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 )
     {