]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/wizard.m
Playlist have to be lock for playlist_ItemGetByInput too.
[vlc] / modules / gui / macosx / wizard.m
index e2344aeddc810db7215f2aab1e3b053589846c63..52c3086eab192e11c1904b835ecd4ed18c723cc5 100644 (file)
@@ -1312,7 +1312,7 @@ static VLCWizard *_o_sharedInstance = nil;
             {
                 /* 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_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input );
                 playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, pl_Locked, NULL,
                           p_item );
                 PL_UNLOCK;