Commit 59aaa199 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

ts demux: fix no-ts-trust-pcr for MPTS

(cherry picked from commit 3fa29faf615cb9232c66f11b0f5571ec673bc8e4)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0f2a3f33
......@@ -1732,8 +1732,9 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
block_Duplicate( p_block ) );
}
if (!p_sys->b_trust_pcr)
if (!p_sys->b_trust_pcr && pid->i_owner_number == p_sys->i_current_program) {
es_out_Control( p_demux->out, ES_OUT_SET_PCR, p_block->i_pts);
}
es_out_Send( p_demux->out, pid->es->id, p_block );
}
......
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