gst/equalizer/gstiirequalizer.c: Don't process buffers in passthrough mode.
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 6 Dec 2007 12:42:11 +0000 (12:42 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 6 Dec 2007 12:42:11 +0000 (12:42 +0000)
Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_transform_ip):
Don't process buffers in passthrough mode.

ChangeLog
gst/equalizer/gstiirequalizer.c

index 6000f217a51c7954ac285339c01cf2c33979b047..56ad193999090d33d984ac7c2006eff0ff80941e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-06  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * gst/equalizer/gstiirequalizer.c:
+       (gst_iir_equalizer_transform_ip):
+       Don't process buffers in passthrough mode.
+
 2007-12-06  Sebastian Dröge  <slomo@circular-chaos.org>
 
        * gst/filter/gstbpwsinc.c: (bpwsinc_transform):
index cd955e289316b1b8e1b4474a85ce9ce0e4beace3..7cc4f7a3ac24482ccf89a33452990299d04be0b8 100644 (file)
@@ -567,6 +567,9 @@ gst_iir_equalizer_transform_ip (GstBaseTransform * btrans, GstBuffer * buf)
   GstIirEqualizer *equ = GST_IIR_EQUALIZER (btrans);
   GstClockTime timestamp;
 
+  if (gst_base_transform_is_passthrough (base))
+    return GST_FLOW_OK;
+
   if (G_UNLIKELY (filter->format.channels < 1 || equ->process == NULL))
     return GST_FLOW_NOT_NEGOTIATED;