From 243e8464b04ea936aa9d3ce0b5c461c5666ed133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 6 Dec 2007 12:42:11 +0000 Subject: gst/equalizer/gstiirequalizer.c: Don't process buffers in passthrough mode. Original commit message from CVS: * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_transform_ip): Don't process buffers in passthrough mode. --- ChangeLog | 6 ++++++ gst/equalizer/gstiirequalizer.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6000f217..56ad1939 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-06 Sebastian Dröge + + * gst/equalizer/gstiirequalizer.c: + (gst_iir_equalizer_transform_ip): + Don't process buffers in passthrough mode. + 2007-12-06 Sebastian Dröge * gst/filter/gstbpwsinc.c: (bpwsinc_transform): 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; -- cgit v1.2.1