]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/bonjour.c
* Do not take and release the structure lock for each element of the list while
[vlc] / modules / services_discovery / bonjour.c
index 7e016f7e3a9b43c042892705dcfc91cbc8d03790..f3108d8f9b31227011912f3f6d8a5e921cad1ab2 100644 (file)
@@ -307,9 +307,9 @@ static int Open( vlc_object_t *p_this )
     }
 
     p_sys->p_node_cat = playlist_NodeCreate( p_sys->p_playlist, _("Bonjour"),
-                                             p_sys->p_playlist->p_root_category );
+                                       p_sys->p_playlist->p_root_category, 0 );
     p_sys->p_node_one = playlist_NodeCreate( p_sys->p_playlist, _("Bonjour"),
-                                             p_sys->p_playlist->p_root_onelevel );
+                                       p_sys->p_playlist->p_root_onelevel, 0 );
     p_sys->p_node_one->p_input->i_id = p_sys->p_node_cat->p_input->i_id;
 
     p_sys->p_node_one->i_flags |= PLAYLIST_RO_FLAG;