Changeset 1b0dc96f in ffmpeg

Timestamp:
Feb 5, 2012, 1:21:16 PM (13 years ago)
Author:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Branches:
master
Children:
8162c6f0
Parents:
982783ac
git-author:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> (02/04/12 19:31:21)
git-committer:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> (02/05/12 13:21:16)
Message:

oggdec: fix keyframe seeking when granule_is_start is 0.

In this case, the pts values will be delayed by one, but
at the same time pts values might only be supplied for e.g.
keyframes.
This results on only the frame after the keyframe having a
pts value.
As a hack, make read_timestamp return the keyframe position
together with the pts from a following frame when seeking
to a keyframe.
Fixes trac issue #438.
However it causes the read_timestamp function to return a
pos value that is actually before the packet with the
indicated pts.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>

(No files)

Note: See TracChangeset for help on using the changeset viewer.