Commit 28adaf71 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

demux: avformat: don't set pcr on tracks on seek

no guarantee track will start beyond that point.

breaks hacks based pcr <> dts.
refs #19317
parent 77b78f49
......@@ -908,7 +908,7 @@ static void ResetTime( demux_t *p_demux, int64_t i_time )
p_sys->i_pcr = i_time;
for( unsigned i = 0; i < p_sys->ic->nb_streams; i++ )
p_sys->tracks[i].i_pcr = i_time;
p_sys->tracks[i].i_pcr = VLC_TS_INVALID;
if( i_time > VLC_TS_INVALID )
{
......
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