[vlc-commits] demux: ts: don't update hw filters in es add loops

Francois Cartegnie git at videolan.org
Wed May 3 14:54:41 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May  3 14:52:24 2017 +0200| [d3c6dafa23f428b10705a4a2242b0efe631f255d] | committer: Francois Cartegnie

demux: ts: don't update hw filters in es add loops

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

 modules/demux/mpeg/ts.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 7fea982ec8..10ffda4074 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -686,6 +686,7 @@ static int Demux( demux_t *p_demux )
             {
                 msg_Dbg( p_demux, "Creating delayed ES" );
                 AddAndCreateES( p_demux, p_pid, true );
+                UpdatePESFilters( p_demux, p_sys->b_es_all );
             }
 
             /* Emulate HW filter */
@@ -2780,6 +2781,4 @@ void AddAndCreateES( demux_t *p_demux, ts_pid_t *pid, bool b_create_delayed )
                 DoCreateES( p_demux, p_pmt->e_streams.p_elems[j]->u.p_pes->p_es, NULL );
         }
     }
-
-    UpdatePESFilters( p_demux, p_sys->b_es_all );
 }



More information about the vlc-commits mailing list