[FFmpeg-devel] [PATCH] make matroska demuxer set cur_dts after seek

elupus elupus
Thu Jun 12 11:47:30 CEST 2008


Aurelien Jacobs <aurel <at> gnuage.org> writes:

> 
> elupus wrote:
> 
> > $subject
> 
> Seems to be OK. Patch applied.
> 
> BTW: do you have a concrete example where this makes a visible difference ?
> 

No not really, but cur_dts is the only way a user application can know the 
exact location the seek ended at since seek doesn't return that position. So 
in our player, without the fix, time in gui reverted back to 0 for a few 
frames, before something had been read from demuxer.

But i'd suspect there could be dts/pts calculation issues too for the first 
packets, but i hadn't spotted it that way.

Joakim







More information about the ffmpeg-devel mailing list