[gstreamer-bugs] [Bug 567955] [spectrum] Need compensation for rounding errors
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Jan 19 02:16:12 PST 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=567955
GStreamer | gst-plugins-good | Ver: HEAD CVS
Sebastian Dröge changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|slomo at circular-chaos.org |gstreamer-
| |bugs at lists.sourceforge.net
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.12
------- Comment #1 from Sebastian Dröge 2009-01-19 10:16 UTC -------
I've implemented this now by adding a counter for the accumulated error and
adding an additional sample to every interval when it overflows (i.e. >=
GST_SECOND).
2009-01-19 Sebastian Dröge <sebastian.droege at collabora.co.uk>
* gst/spectrum/gstspectrum.c: (gst_spectrum_reset_state),
(gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Implement a simple compensation algorithm for rounding errors.
This makes sure that a spectrum message is posted on the bus
every interval nanoseconds. Fixes bug #567955.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567955.
More information about the Gstreamer-bugs
mailing list