[vlc-commits] es_out: save user group_id

Thomas Guillem git at videolan.org
Mon Feb 8 09:30:14 UTC 2021


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Feb  1 16:52:22 2021 +0100| [4eed9772d1d2d52b3c41ebbd53899c1131493e1e] | committer: Thomas Guillem

es_out: save user group_id

This will allow to select a program before it is created.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4eed9772d1d2d52b3c41ebbd53899c1131493e1e
---

 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 )
             {



More information about the vlc-commits mailing list