Commit aaa0b5f0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

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

parent 2e82eb0d
...@@ -995,12 +995,6 @@ ...@@ -995,12 +995,6 @@
p_item = playlist_ItemGetByInput( p_playlist, p_input, true ); p_item = playlist_ItemGetByInput( p_playlist, p_input, true );
playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, NULL, p_item ); 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 ); vlc_gc_decref( p_input );
} }
[self playlistUpdated]; [self playlistUpdated];
...@@ -1039,12 +1033,6 @@ ...@@ -1039,12 +1033,6 @@
p_item = playlist_ItemGetByInput( p_playlist, p_input, true ); p_item = playlist_ItemGetByInput( p_playlist, p_input, true );
playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, NULL, p_item ); 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 ); vlc_gc_decref( p_input );
} }
[self playlistUpdated]; [self playlistUpdated];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment