]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/wizard.m
Use pl_Locked and pl_Unlocked
[vlc] / modules / gui / macosx / wizard.m
index 5d2974f43781b976d941d2e7e6579635bf6c4359..25343046deed3e56994c3274e38cdad9bf0cc7dc 100644 (file)
@@ -1294,13 +1294,13 @@ static VLCWizard *_o_sharedInstance = nil;
 
             /* FIXME: playlist_AddInput() can fail */
             playlist_AddInput( p_playlist, p_input, PLAYLIST_STOP,
-                PLAYLIST_END, VLC_TRUE, VLC_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, VLC_TRUE );
-                playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, VLC_TRUE, NULL,
+                playlist_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input, pl_Locked );
+                playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, NULL,
                           p_item );
             }