Commit 9cbad062 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: don't send TS_INVALID with no-trust-pcr

parent 708fee3a
......@@ -1916,7 +1916,7 @@ 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 && p_block->i_pts > VLC_TS_INVALID )
es_out_Control( p_demux->out, ES_OUT_SET_GROUP_PCR,
pid->i_owner_number, p_block->i_pts);
......
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