[FFmpeg-devel] [RFC] Seeking: to PTS or to DTS?

Michael Niedermayer michaelni
Sat Mar 7 04:46:27 CET 2009

On Fri, Mar 06, 2009 at 11:45:41PM +0100, Ivan Schreter wrote:
> Hi all,
> I asked it already twice in other threads, but I don't seem to get a 
> response.
> How should (current) av_seek_frame() interpret the timestamp? As PTS 
> (wherever available) or as DTS? It is important for my seeking patches.
> Also, how should the future seeking API interpret the timestamp?

> I personally feel PTS is the right one.

yes it should prefer PTS but some existing code might not follow this

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090307/dc62be4d/attachment.pgp>

More information about the ffmpeg-devel mailing list