Commit b4c0bcad authored by François Cartegnie's avatar François Cartegnie 🤞

access: live555: only use valid pcr from tracks

parent aed53556
......@@ -1359,7 +1359,7 @@ static int Demux( demux_t *p_demux )
/* Check for gap in pts value */
b_need_flush |= (tk->b_flushing_discontinuity);
if( i_minpcr == VLC_TS_INVALID || i_minpcr > tk->i_pcr )
if( i_minpcr == VLC_TS_INVALID || ( tk->i_pcr != VLC_TS_INVALID && i_minpcr > tk->i_pcr ) )
i_minpcr = tk->i_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