[FFmpeg-cvslog] r17905 - trunk/libavformat/utils.c

Reimar Döffinger Reimar.Doeffinger
Fri Mar 13 22:50:05 CET 2009


On Fri, Mar 13, 2009 at 02:18:46PM -0700, Baptiste Coudurier wrote:
> On 3/13/2009 12:55 PM, Reimar D?ffinger wrote:
> > That part yes, but seeking is still broken for some reason.
> 
> It's broken because it's not supported. no read_timestamp no generic
> seeking.

read_timestamp is not necessary for seeking based on linear reading.
I suspect it might be because except for video pkt->pts is
auto-calculated.
In the mean time you could consider attached patch to set pkt->pos to
the start of the packet header, which for what I gathered is the
"correct" way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swfpos.diff
Type: text/x-diff
Size: 1431 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090313/6a556870/attachment.diff>



More information about the ffmpeg-cvslog mailing list