Commit cf8fe3c0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc: Fix media discoverer with category.

parent 9a1a33f4
......@@ -96,12 +96,10 @@ static void services_discovery_item_added( const vlc_event_t * p_event,
libvlc_media_release( p_catmd );
}
}
else
{
libvlc_media_list_lock( p_mlist );
_libvlc_media_list_add_media( p_mlist, p_md, NULL );
libvlc_media_list_unlock( p_mlist );
}
libvlc_media_list_lock( p_mlist );
_libvlc_media_list_add_media( p_mlist, p_md, NULL );
libvlc_media_list_unlock( p_mlist );
}
/**************************************************************************
......
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