[Ffmpeg-devel] [PATCH] fix ogg seeking

Måns Rullgård mru
Sun Jul 23 10:44:18 CEST 2006


Reimar D?ffinger said:
> Hello,
> currently ogg seeking has at least two issues:
> 1) the timestamp is reset to 0 until a frame (might be related to the
> fact that seeking doesn't jump to a keyframe, but I can't fix that).

You'ld have to fix ogg to fix that problem.

> 2) if timestamps do not start at 0, it will quite often hang.
> The attached patch fixes both problems for me, and I also changed the
> return value of the seek function. It does not seem to make any
> difference, but returning the 64 bit pts via an int doesn't make much
> sense to me.

That looks like a porting error.

Go ahead, apply.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list