From aaa0b5f0d55731b58d719d88902671f7861eb0f5 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sun, 6 Jul 2008 23:25:36 +0200 Subject: [PATCH] macosx: Don't send PLAYLIST_SKIP. Fix adding item when an other is playing. --- modules/gui/macosx/playlist.m | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index 90d75e1220..6fe2531aed 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -995,12 +995,6 @@ p_item = playlist_ItemGetByInput( p_playlist, p_input, true ); playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, NULL, p_item ); } - else - { - playlist_item_t *p_item; - p_item = playlist_ItemGetByInput( p_playlist, p_input, true ); - playlist_Control( p_playlist, PLAYLIST_SKIP, true, p_item ); - } vlc_gc_decref( p_input ); } [self playlistUpdated]; @@ -1039,12 +1033,6 @@ p_item = playlist_ItemGetByInput( p_playlist, p_input, true ); playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, NULL, p_item ); } - else - { - playlist_item_t *p_item; - p_item = playlist_ItemGetByInput( p_playlist, p_input, true ); - playlist_Control( p_playlist, PLAYLIST_SKIP, true, p_item ); - } vlc_gc_decref( p_input ); } [self playlistUpdated]; -- 2.39.2