Commit 7544870d authored by François Cartegnie's avatar François Cartegnie 🤞

demux: ts: don't report length with seekpp

refs #17582
parent a1a52484
......@@ -983,7 +983,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
}
if( p_pmt &&
if( !p_sys->b_ignore_time_for_positions &&
p_pmt &&
( p_pmt->pcr.i_first > -1 || p_pmt->pcr.i_first_dts > VLC_TS_INVALID ) &&
p_pmt->i_last_dts > 0 )
{
......
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