[Bug 719383] rtpbasepayload: Perfect timestamps incorrectly computed.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 3 06:12:42 PST 2013


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

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com

--- Comment #5 from Wim Taymans <wim.taymans at gmail.com> 2013-12-03 14:12:37 UTC ---
(In reply to comment #0)
> 
> rtptime = ts_base + base_rtime + data.offset - base_offset;
> 
> ts_base is the random rtp offset expressed in media clock hz.
> base_rtime is the first buffers running time expressed in hz (it is sampled for
> the first buffer in the else clause).
> base_offset is the first buffer's data.offset expressed in ns.
> data.offset is the current buffer's offset expressed in ns.

not really. data.offset if the media specific offset (not expressed in
nanoseconds, for audio this is the number of samples) and base_offset is the
sample offset since we took base_rtime.

> 
> This means that the above expression is a mix of hz and ns.

For audio they are both in Hz.

-- 
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