mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
macosx: Add a missing PL_LOCK in the wizard.
This commit is contained in:
parent
313c62d2df
commit
ba8f5af237
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user