[vlc-devel] commit: Qt: reset A->B between songs. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Dec 31 13:44:16 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 31 13:10:40 2008 +0100| [917f5cc03cf2b770abdf96ac5e4a53c2ca7c7821] | committer: Jean-Baptiste Kempf 

Qt: reset A->B between songs.

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

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

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index ff126e5..ce5c8bc 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -78,6 +78,7 @@ void InputManager::setInput( input_thread_t *_p_input )
     p_input = _p_input;
     if( p_input && !( p_input->b_dead || !vlc_object_alive (p_input) ) )
     {
+    msg_Warn( p_intf, "Setting the input" );
         vlc_object_hold( p_input );
         emit statusChanged( PLAYING_S );
         UpdateName();
@@ -101,6 +102,7 @@ void InputManager::setInput( input_thread_t *_p_input )
    p_input is released once here */
 void InputManager::delInput()
 {
+    msg_Warn( p_intf, "Deleting the input" );
     if( !p_input ) return;
 
     delCallbacks();
@@ -127,7 +129,7 @@ void InputManager::delInput()
     emit teletextPossible( false );
     emit voutChanged( false );
 
-// FIXME    emit AtoBchanged( );
+    emit AtoBchanged( false, false );
     vlc_object_release( p_input ); /* FIXME: Can't we release sooner ? */
 
     p_input = NULL;




More information about the vlc-devel mailing list