[vlc-commits] es_out: always notify program creation

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


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

es_out: always notify program creation

Even when programs are not selected via the "program" option.

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

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



More information about the vlc-commits mailing list