From e018b9f1b325d9b10dd877428740bccc50eb71e5 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sat, 14 Jun 2008 16:25:59 +0200 Subject: [PATCH] input: Remove p_playlist gc signaling now that the playlist is aware of vlc_InputSelectedStreamChanged. --- src/input/es_out.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/input/es_out.c b/src/input/es_out.c index df4fb095f4..f25f545daf 100644 --- a/src/input/es_out.c +++ b/src/input/es_out.c @@ -40,7 +40,6 @@ #include "input_internal.h" -#include "vlc_playlist.h" #include /* FIXME we should find a better way than including that */ #include "../text/iso-639_def.h" @@ -1689,16 +1688,6 @@ static int EsOutControl( es_out_t *out, int i_query, va_list args ) } } { - /* FIXME: we don't want to depend on the playlist */ - playlist_t * p_playlist = pl_Yield( p_sys->p_input ); - if( VLC_OBJECT(p_playlist) == p_sys->p_input ) - { - PL_LOCK; - p_playlist->gc_date = mdate(); - vlc_object_signal_unlocked( p_playlist ); - PL_UNLOCK; - } - pl_Release( p_sys->p_input ); vlc_event_t event; event.type = vlc_InputSelectedStreamChanged; vlc_event_send( &p_sys->p_input->p->event_manager, &event ); -- 2.39.2