[Bug 744213] spectrum: assertion 'len > 0' failed
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Feb 15 18:52:15 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=744213
Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.6.0
--- Comment #4 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
commit b8142bde0703b7c60aa1e70c2da62dde6ea661ff
Author: Nicolas Dufresne <nicolas.dufresne at collabora.co.uk>
Date: Sun Feb 15 21:34:28 2015 -0500
spectrum: Fix min and max for bands property
The number of FFTs is calculated with the following formula:
guint nfft = 2 * bands - 2;
nfft is passed to gst_fft_f32_new() as the len argument and is of type
unsigned integer. This method required that len is at leas 1, then
maximum G_MAXINT, as other values would be negative. If we extrapolate
from the formula above it means we need "bands" to be between 2 and
((guint)G_MAXINT + 2) / 2).
https://bugzilla.gnome.org/show_bug.cgi?id=744213
--
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