1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00

use p_playlist->p_input

This commit is contained in:
Antoine Cellerier 2006-03-23 22:46:18 +00:00
parent b9b15b3eba
commit b5d4a11a6e

View File

@ -419,15 +419,11 @@ static void Run( intf_thread_t *p_intf )
{
if( p_sys->p_playlist )
{
p_sys->p_input =
vlc_object_find( p_sys->p_playlist,
VLC_OBJECT_INPUT,
FIND_CHILD );
p_sys->p_input = p_sys->p_playlist->p_input;
}
}
else if( p_sys->p_input->b_dead )
else if( p_sys->p_input->b_dead || p_sys->p_input->b_die )
{
vlc_object_release( p_sys->p_input );
p_sys->p_input = NULL;
}