]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/sap.c
* Do not take and release the structure lock for each element of the list while
[vlc] / modules / services_discovery / sap.c
index a295b0d36f2ebc737922b4677b16a44ce688359a..b4850490d202bd85d5620c5edead3d1a458c976e 100644 (file)
@@ -802,7 +802,7 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
         if( p_child == NULL )
         {
             p_child = playlist_NodeCreate( pl_Get( p_sd ), psz_value,
-                                           p_sys->p_node_cat );
+                                           p_sys->p_node_cat, 0 );
             p_child->i_flags &= ~PLAYLIST_SKIP_FLAG;
         }
     }