]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/wizard.m
Fix playlist crasher and simplify a few things
[vlc] / modules / gui / macosx / wizard.m
index 388c02f33c754f26af612bded51077cd1c8f7656..8e6c66d07bfdfe66eaa58cf58f4d86f9a323bc3f 100644 (file)
@@ -1322,7 +1322,8 @@ static VLCWizard *_o_sharedInstance = nil;
                 {
                     /* play the first item and add the others afterwards */
                     playlist_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input );
-                    playlist_Control( p_playlist, PLAYLIST_ITEMPLAY, p_item );
+                    playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, NULL,
+                                     p_item );
                 }
 
                 x += 1;