diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/equalizer/gstiirequalizer.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,11 @@ 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): * gst/filter/gstlpwsinc.c: (lpwsinc_transform): The transform() methods are not called in passthrough mode so diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c index cd955e28..7cc4f7a3 100644 --- a/gst/equalizer/gstiirequalizer.c +++ b/gst/equalizer/gstiirequalizer.c @@ -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; |