[vlc-commits] es_out: fix regression when replacing program

Francois Cartegnie git at videolan.org
Wed Oct 21 14:34:00 CEST 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 12 21:17:57 2020 +0200| [d52708e9b2bec870620b54c60647f841c0433c10] | committer: Francois Cartegnie

es_out: fix regression when replacing program

regression by df8a69b97cc50a08f980496711e8e024592b2100
refs streams/ts/La_Chevre_PATPMTevery6s.ts

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

 src/input/es_out.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index beae1e9b55..00f544778a 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2901,7 +2901,7 @@ static void EsOutDelLocked( es_out_t *out, es_out_id_t *es )
     EsOutDeleteInfoEs( out, es );
 
     /* Update program */
-    if( EsOutIsGroupSticky( out, es->id.source, es->fmt.i_group ) )
+    if( !EsOutIsGroupSticky( out, es->id.source, es->fmt.i_group ) )
     {
         assert( es->p_pgrm );
 



More information about the vlc-commits mailing list