]> git.sesse.net Git - vlc/commitdiff
Qt: reset A->B between songs.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 31 Dec 2008 12:10:40 +0000 (13:10 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 31 Dec 2008 12:43:08 +0000 (13:43 +0100)
modules/gui/qt4/input_manager.cpp

index ff126e50fdff18c884f63267066be0922de9a2e2..ce5c8bc856c1b8f3569a0e580a4d3fbca68f34a0 100644 (file)
@@ -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;