Original commit message from CVS:
* gst/spectrum/gstspectrum.c:
Don't terminate on fabs(in)>1.0. Init doubles as doubles.
+2008-08-13 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/spectrum/gstspectrum.c:
+ Don't terminate on fabs(in)>1.0. Init doubles as doubles.
+
2008-08-13 Edward Hervey <edward.hervey@collabora.co.uk>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_query):
\
for (i = 0, j = 0; i < nfft; i++) { \
/* convert to mono */ \
- for (k = 0, acc = 0; k < channels; k++) \
+ for (k = 0, acc = 0.0; k < channels; k++) \
acc += samples[j++]; \
in[i] = (g##type) (acc / channels); \
- if (abs (in[i]) > 1.0) \
- g_assert_not_reached(); \
} \
\
if (!spectrum->fft_ctx) { \