[FFmpeg-devel] [PATCH] ogg: Fix seek to zero and packet pts after read through.

Dale Curtis dalecurtis at chromium.org
Tue Apr 24 22:39:08 CEST 2012

On Mon, Apr 23, 2012 at 10:50 PM, Reimar Döffinger <Reimar.Doeffinger at gmx.de
> wrote:

> There is no reason at all to assume that the first pts should be 0, a lot
> of times it is not.
> In some applications, this can cause a long hang when the pts jumps from 0
> to the correct value (which can be in the millions of seconds).

Correct, but we're setting lastpts/lastdts here, not the actual pts/dts. As
mentioned in my previous email, non-zero starting timestamps come back

1st pass pts: -128   0 128 256  832
2nd pass pts: -128   0 128 256  832

Do you have a sample file where the pts jumps? I'm happy to test and

- dale

More information about the ffmpeg-devel mailing list