]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/wizard.m
Use pl_Locked and pl_Unlocked
[vlc] / modules / gui / macosx / wizard.m
index abf197aac62bb3413d667edb40728b0bee1f0830..25343046deed3e56994c3274e38cdad9bf0cc7dc 100644 (file)
@@ -1294,12 +1294,12 @@ static VLCWizard *_o_sharedInstance = nil;
 
             /* FIXME: playlist_AddInput() can fail */
             playlist_AddInput( p_playlist, p_input, PLAYLIST_STOP,
-                PLAYLIST_END, true, false );
+                PLAYLIST_END, true, pl_Unlocked );
 
             if( x == 0 )
             {
                 /* play the first item and add the others afterwards */
-                playlist_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input, true );
+                playlist_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input, pl_Locked );
                 playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, NULL,
                           p_item );
             }