[vlc-commits] commit: Qt: reset rate display at new input (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon May 17 17:24:47 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 17 17:24:24 2010 +0200| [5bf9231283106ed14d0eb3272da2db4e60fc6f2e] | committer: Jean-Baptiste Kempf
Qt: reset rate display at new input
Close #3627
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5bf9231283106ed14d0eb3272da2db4e60fc6f2e
---
modules/gui/qt4/input_manager.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index b5058e1..02610d1 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 )
{
More information about the vlc-commits
mailing list