Commit 0a74125c authored by Rafaël Carré's avatar Rafaël Carré

services_discovery: fix removal of nodes

parent 6f17ad3c
......@@ -230,7 +230,7 @@ static void playlist_sd_item_removed( const vlc_event_t * p_event, void * user_d
* XXX: Why don't we have a function to ensure that in the playlist code ? */
vlc_object_lock( p_parent->p_playlist );
p_pl_item = playlist_ItemFindFromInputAndRoot( p_parent->p_playlist,
p_input->i_id, p_parent, VLC_TRUE );
p_input->i_id, p_parent, VLC_FALSE );
if( p_pl_item && p_pl_item->i_children > -1 )
{
......
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