[FFmpeg-devel] [PATCH] correct seeking to return key frames only, prepare for multi-stream seek in new seeking API
Thu Mar 5 22:48:59 CET 2009
attached is a patch to correct seeking by looking up true key frame
instead of trusting whatever returned from format.
The search routine is already prepared for multi-stream seeking in a way
suggested by Michael.
I'm still having too many differences in seek regression, so I'm not
going to apply this patch as is, I just want to get your opinion &
One important question: The timestamp coming into the seeking routine:
Is is PTS or DTS? More naturally, it should be PTS, but currently seems
to be handled as DTS... So I handled it as DTS as well for now. This is
possibly incorrect and causing the regression.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8881 bytes
Desc: not available
More information about the ffmpeg-devel