[vlc-devel] commit: macosx: Don't send PLAYLIST_SKIP. Fix adding item when an other is playing. (Pierre d'Herbemont )

git version control git at videolan.org
Sun Jul 6 23:23:25 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Jul  6 23:25:36 2008 +0200| [aaa0b5f0d55731b58d719d88902671f7861eb0f5]

macosx: Don't send PLAYLIST_SKIP. Fix adding item when an other is playing.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aaa0b5f0d55731b58d719d88902671f7861eb0f5
---

 modules/gui/macosx/playlist.m |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 90d75e1..6fe2531 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];




More information about the vlc-devel mailing list