Commit 2d279153 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

demux: ts: rename psip base pid tracking reference on pmt

parent 06f6d941
......@@ -1442,8 +1442,8 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
pid_to_decref.i_alloc = p_pmt->e_streams.i_alloc;
pid_to_decref.i_size = p_pmt->e_streams.i_size;
pid_to_decref.p_elems = p_pmt->e_streams.p_elems;
if( p_pmt->p_mgt )
ARRAY_APPEND( pid_to_decref, p_pmt->p_mgt );
if( p_pmt->p_atsc_si_basepid )
ARRAY_APPEND( pid_to_decref, p_pmt->p_atsc_si_basepid );
ARRAY_INIT(p_pmt->e_streams);
if( p_pmt->iod )
......@@ -1657,7 +1657,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
}
else
{
p_pmt->p_mgt = atsc_base_pid;
p_pmt->p_atsc_si_basepid = atsc_base_pid;
SetPIDFilter( p_demux->p_sys, atsc_base_pid, true );
msg_Dbg( p_demux, " * pid=%d listening for MGT/STT", atsc_base_pid->i_pid );
......
......@@ -49,7 +49,7 @@ struct ts_pmt_t
DECL_ARRAY(ts_pid_t *) e_streams;
ts_pid_t *p_mgt;
ts_pid_t *p_atsc_si_basepid;
struct
{
......
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