mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/3/merge
parent
982783ac49
commit
1b0dc96fc9
1 changed files with 11 additions and 2 deletions
Loading…
Reference in new issue