[vlc-devel] [PATCH 2/5] es_out: save user group_id
Thomas Guillem
thomas at gllm.fr
Mon Feb 1 15:52:22 UTC 2021
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 )
{
--
2.29.2
More information about the vlc-devel
mailing list