soundtouch: Call default event handler for basetransform
authorJan Schmidt <jan@centricular.com>
Tue, 10 Dec 2013 12:06:53 +0000 (23:06 +1100)
committerJan Schmidt <jan@centricular.com>
Tue, 10 Dec 2013 12:06:53 +0000 (23:06 +1100)
Make pipeline end properly at EOS and not leak by passing events
to the default event handler.

ext/soundtouch/gstbpmdetect.cc

index d32f219..5b9bcef 100644 (file)
@@ -181,7 +181,7 @@ gst_bpm_detect_event (GstBaseTransform * trans, GstEvent * event)
       break;
   }
 
-  return TRUE;
+  return GST_BASE_TRANSFORM_CLASS (parent_class)->sink_event (trans, event);
 }
 
 static gboolean