[vlc-commits] commit: Update the rate value when setting the input. (Antoine Cellerier )

git version control git at videolan.org
Tue Mar 2 23:17:29 CET 2010


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Tue Mar  2 23:19:06 2010 +0100| [9ac719c31809fb4f72abe7e6c98e6a9db0bc2cf5] | committer: Antoine Cellerier 

Update the rate value when setting the input.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9ac719c31809fb4f72abe7e6c98e6a9db0bc2cf5
---

 modules/gui/qt4/input_manager.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 42e46dd..5a48df9 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -111,6 +111,7 @@ void InputManager::setInput( input_thread_t *_p_input )
         UpdateVout();
         addCallbacks();
         p_item = input_GetItem( p_input );
+        emit rateChanged( INPUT_RATE_DEFAULT / var_GetFloat( p_input, "rate" ) );
     }
     else
     {



More information about the vlc-commits mailing list