X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fwizard.m;h=efc3fef4ff7cd636ad121d97b28de588f052a0bc;hb=ba8f5af2374314a1aac064c1d12a76779e0de8bc;hp=25343046deed3e56994c3274e38cdad9bf0cc7dc;hpb=313c62d2df64a4a6b24023c15e8140b7ce54d3eb;p=vlc diff --git a/modules/gui/macosx/wizard.m b/modules/gui/macosx/wizard.m index 25343046de..efc3fef4ff 100644 --- a/modules/gui/macosx/wizard.m +++ b/modules/gui/macosx/wizard.m @@ -1299,9 +1299,11 @@ static VLCWizard *_o_sharedInstance = nil; if( x == 0 ) { /* play the first item and add the others afterwards */ + PL_LOCK; playlist_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input, pl_Locked ); - playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, NULL, + playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, pl_Locked, NULL, p_item ); + PL_UNLOCK; } vlc_gc_decref( p_input );