[vlc-commits] demux: ts: don't delay es creation if there's access control

Francois Cartegnie git at videolan.org
Fri Feb 20 20:01:50 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Feb 17 15:34:29 2015 +0100| [b8be35ab748a02b28d20f98ac4170cfa275d22e9] | committer: Francois Cartegnie

demux: ts: don't delay es creation if there's access control

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

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

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index de1022f..2532c88 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -1082,7 +1082,7 @@ static int Open( vlc_object_t *p_this )
     /* Init PMT array */
     TAB_INIT( p_sys->i_pmt, p_sys->pmt );
     p_sys->i_pmt_es = 0;
-    p_sys->b_delay_es_creation = true;
+    p_sys->b_delay_es_creation = !p_sys->b_access_control;
 
     /* Read config */
     p_sys->b_es_id_pid = var_CreateGetBool( p_demux, "ts-es-id-pid" );



More information about the vlc-commits mailing list