Commit 70d44c22 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: only set self pcr to its program

We can't support shared pid/pcr for now
parent 467d2fb1
......@@ -2983,7 +2983,7 @@ static void PCRHandle( demux_t *p_demux, ts_pid_t *pid, block_t *p_bk )
if( p_pmt->i_pid_pcr == 0x1FFF ) /* That program has no dedicated PCR pid ISO/IEC 13818-1 2.4.4.9 */
{
if( pid->p_parent ) /* PCR shall be on pid itself */
if( pid->p_parent == p_pat->programs.p_elems[i] ) /* PCR shall be on pid itself */
{
/* ? update PCR for the whole group program ? */
ProgramSetPCR( p_demux, p_pmt, i_program_pcr );
......
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