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

demux: ts: return file offset, not time with seekpp

refs #17582
parent 2ee4ab75
...@@ -863,7 +863,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -863,7 +863,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->i_last_dts > VLC_TS_INVALID && p_pmt->pcr.i_first > -1 && p_pmt->i_last_dts > VLC_TS_INVALID &&
p_pmt->pcr.i_current > -1 ) p_pmt->pcr.i_current > -1 )
{ {
......
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