[vlc-devel] [PATCH 3/3] input/es_out: properly update/delete information on ES changes

Francois Cartegnie fcvlcdev at free.fr
Wed Jul 13 22:56:09 CEST 2016


Le 13/07/2016 à 22:41, Filip Roséen a écrit :
> ---
>  src/input/es_out.c | 37 +++++++++++++++++++++++++------------
>  1 file changed, 25 insertions(+), 12 deletions(-)
> 
> diff --git a/src/input/es_out.c b/src/input/es_out.c
> index e24bf32..faa31a2 100644
> --- a/src/input/es_out.c
> +++ b/src/input/es_out.c
> @@ -994,6 +994,8 @@ static void EsOutProgramSelect( es_out_t *out, es_out_pgrm_t *p_pgrm )
>              if( p_sys->es[i]->p_pgrm == old && EsIsSelected( p_sys->es[i] ) &&
>                  p_sys->i_mode != ES_OUT_MODE_ALL )
>                  EsUnselect( out, p_sys->es[i], true );
> +
> +            EsDeleteInfo( out, p_sys->es[i] );
>          }

No, we don't want to hide unselected programs.

Francois



More information about the vlc-devel mailing list