[vlc-devel] [PATCH 1/5] es_out: always notify program creation

Thomas Guillem thomas at gllm.fr
Mon Feb 1 15:52:21 UTC 2021


Even when programs are not selected via the "program" option.
---
 src/input/es_out.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 7d178a5e78..d9fc1ee495 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1408,8 +1408,7 @@ static es_out_pgrm_t *EsOutProgramAdd( es_out_t *out, input_source_t *source, in
     vlc_list_append(&p_pgrm->node, &p_sys->programs);
 
     /* Update "program" variable */
-    if( EsOutIsProgramVisible( out, source, i_group ) )
-        input_SendEventProgramAdd( p_input, i_group, NULL );
+    input_SendEventProgramAdd( p_input, i_group, NULL );
 
     if( i_group == p_sys->i_group_id || ( !p_sys->p_pgrm && p_sys->i_group_id == 0 ) )
         EsOutProgramSelect( out, p_pgrm );
-- 
2.29.2



More information about the vlc-devel mailing list