[gstreamer-bugs] [Bug 636037] audiotestsrc timestamps are imprecise in general

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 30 19:25:36 PST 2010


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

David Schleef <ds> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #2 from David Schleef <ds at schleef.org> 2010-12-01 03:25:32 UTC ---
GStreamer is pretty consistent about using gst_util_uint64_scale() to generate
timestamps.  It was defined to that way (truncation of any fractional
nanoseconds), since it is simple, and any other system (i.e., rounding) is
significantly more complex to test and get right (rounding of half-nanoseconds,
for example).

As a side note, using rounding instead of truncation merely offsets timestamps
by a half a nanosecond.

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