[FFmpeg-devel] [PATCH] mpegts demuxer gives bogus data after seeking
Tue May 5 00:20:03 CEST 2009
On 5/4/2009 2:18 PM, Wolfram Gloger wrote:
> Please take a look at tests/seek.regression.ref for the file
> tests/data/b-lavf.ts. The packet "pos" values after a seek are rather
> obviously bogus -- they don't correlate at all with the timestamp
> seeked to. Rather, they correlate with the _previous_ timestamp
> seeked to.
That is true.
> This is fixed by the appended patch.
> I also append a diff for seek.regression.ref.
> Note: there are _still_ bogosities after seeking in b-lavf.ts (dts far
> off the timestamped seeked to), but these are due to bugs in the
> mpegts muxer IMHO.
I'm not sure, I think the problem is caused by
av_update_cur_dts/av_gen_search in seeking function.
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel