Commit 4bd2fb31 authored by Gildas Bazin's avatar Gildas Bazin

* src/input/es_out.c: reverted previous patch since it creates problems with the DVB access plugin.

parent e4beeb2e
...@@ -1055,7 +1055,11 @@ static void EsOutDel( es_out_t *out, es_out_id_t *es ) ...@@ -1055,7 +1055,11 @@ static void EsOutDel( es_out_t *out, es_out_id_t *es )
TAB_REMOVE( p_sys->i_es, p_sys->es, es ); TAB_REMOVE( p_sys->i_es, p_sys->es, es );
es->p_pgrm->i_es--; es->p_pgrm->i_es--;
if( es->p_pgrm->i_es == 0 ) EsOutProgramDel( out, es->p_pgrm->i_id ); if( es->p_pgrm->i_es == 0 )
{
msg_Warn( p_sys->p_input, "Program doesn't contain anymore ES, "
"TODO cleaning ?" );
}
if( p_sys->p_es_audio == es ) p_sys->p_es_audio = NULL; if( p_sys->p_es_audio == es ) p_sys->p_es_audio = NULL;
if( p_sys->p_es_video == es ) p_sys->p_es_video = NULL; if( p_sys->p_es_video == es ) p_sys->p_es_video = NULL;
......
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