[vlc-devel] [PATCH 2/5] es_out: save user group_id
Rémi Denis-Courmont
remi at remlab.net
Mon Feb 1 15:59:18 UTC 2021
Le maanantaina 1. helmikuuta 2021, 17.52.22 EET Thomas Guillem a écrit :
> This will allow to select a program before it is created.
> ---
> src/input/es_out.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/input/es_out.c b/src/input/es_out.c
> index d9fc1ee495..b3b3562105 100644
> --- a/src/input/es_out.c
> +++ b/src/input/es_out.c
> @@ -3285,6 +3285,8 @@ static int EsOutVaControlLocked( es_out_t *out,
> input_source_t *source, int i = va_arg( args, int );
> es_out_pgrm_t *p_pgrm;
>
> + p_sys->i_group_id = i;
> +
> vlc_list_foreach(p_pgrm, &p_sys->programs, node)
> if( p_pgrm->i_id == i )
> {
It's a little strange that the property is only set. Presumably, this would
render an existing initialisation redundant?
--
Реми Дёни-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list