Commit b8be35ab authored by François Cartegnie's avatar François Cartegnie 🤞

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

parent db37ca8b
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment