Commit 383e0cf9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Playlist is always true here

parent 605665e6
...@@ -464,18 +464,14 @@ static void Run( intf_thread_t *p_intf ) ...@@ -464,18 +464,14 @@ static void Run( intf_thread_t *p_intf )
{ {
/* Manage the input part */ /* Manage the input part */
if( p_sys->p_input == NULL ) if( p_sys->p_input == NULL )
{
if( p_sys->p_playlist )
{ {
p_sys->p_input = p_sys->p_playlist->p_input; p_sys->p_input = p_sys->p_playlist->p_input;
} }
}
else if( p_sys->p_input->b_dead || p_sys->p_input->b_die ) else if( p_sys->p_input->b_dead || p_sys->p_input->b_die )
{ {
p_sys->p_input = NULL; p_sys->p_input = NULL;
} }
/* Wait a bit */ /* Wait a bit */
msleep( INTF_IDLE_SLEEP ); msleep( INTF_IDLE_SLEEP );
} }
......
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