[Bug 659489] h264parse: Calculate PTS from DTS (and vice-versa)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 4 06:50:11 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=659489
  GStreamer | gst-plugins-bad | git

--- Comment #36 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-09-04 13:50:05 UTC ---
(In reply to comment #34)
> Also the other way around, we need to calculate DTS if we only have PTS (e.g.
> with matroska).

Isn't "DTS(n) = DTS(n-1) + duration - shift" ?

p.s. most likely the shift need to be added to PTS in gstreamer to avoid
negative values

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list