Commit 917f5cc0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: reset A->B between songs.

parent fab94892
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment