]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlist.m
* Do not take and release the structure lock for each element of the list while
[vlc] / modules / gui / macosx / playlist.m
index ccc92c8eb1c1f9e3be85fd087b102edbb5320aaf..97957634c544cf9b0151135134660f2ebc2dfcbd 100644 (file)
@@ -1343,10 +1343,10 @@ NSLog( @"expandable" );
         _("Please enter a name for the new node."), &psz_name );
     if( psz_name != NULL && psz_name != "" )
         p_item = playlist_NodeCreate( p_playlist, psz_name, 
-                                            p_playlist->p_local_category );
+                                            p_playlist->p_local_category, 0 );
     else
         p_item = playlist_NodeCreate( p_playlist, _("Empty Folder"), 
-                                            p_playlist->p_local_category );
+                                            p_playlist->p_local_category, 0 );
 
     if(! p_item )
         msg_Warn( VLCIntf, "node creation failed" );