Original commit message from CVS:
* ext/soundtouch/gstbpmdetect.cc:
Only consider a BPM value above 1.0 as valid.
2008-01-27 Sebastian Dröge <slomo@circular-chaos.org>
+ * ext/soundtouch/gstbpmdetect.cc:
+ Only consider a BPM value above 1.0 as valid.
+
+2008-01-27 Sebastian Dröge <slomo@circular-chaos.org>
+
* ext/soundtouch/Makefile.am:
* ext/soundtouch/gstbpmdetect.cc:
* ext/soundtouch/gstbpmdetect.hh:
g_free (data);
bpm = bpm_detect->priv->detect->getBpm ();
- if (bpm != 0.0 && fabs (bpm_detect->bpm - bpm) >= 1.0) {
+ if (bpm >= 1.0 && fabs (bpm_detect->bpm - bpm) >= 1.0) {
GstTagList *tags = gst_tag_list_new ();
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE_ALL, GST_TAG_BEATS_PER_MINUTE,