[FFmpeg-devel] [PATCH] OGG seeking and timestamp
Wed Nov 19 10:43:23 CET 2008
I needed to recover exact packets, so on the first read I save all
packets with available timestamp value, then when I need I make an
av_seek_frame to these values in order to recover the corresponding
packet, but sometimes it worked and sometimes it sent me an other packet
(which is the next packet in fact).
and worst, sometimes it was simply impossible to seek to this same
timestamp, it returned the packet of the next timestamp :s
So I digg in... and I made a modification so when we make a seek to a
saved timestamp we always recover the same packet as the one which
generated this timestamp!
I join a patch if it can help!
NB : Sorry for the mail in libav* user I had some problems with my email
and ffmpeg-devel subscription...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5972 bytes
Desc: not available
More information about the ffmpeg-devel