Commit e72bccd5 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: avoid PAT fixup loop

parent 8eb1c192
......@@ -5206,6 +5206,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt )
return;
}
pmt->b_seen = true;
if( prg->i_version != -1 &&
( !p_pmt->b_current_next || prg->i_version == p_pmt->i_version ) )
......@@ -5618,6 +5619,8 @@ static void PATCallBack( void *data, dvbpsi_pat_t *p_pat )
msg_Dbg( p_demux, "PATCallBack called" );
pat->b_seen = true;
if( ( pat->psi->i_pat_version != -1 &&
( !p_pat->b_current_next ||
p_pat->i_version == pat->psi->i_pat_version ) ) ||
......
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