diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-12-06 12:42:11 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-12-06 12:42:11 +0000 |
commit | e59f930d9acc8e27be4cde9dfeb160467e5cbbf8 (patch) | |
tree | 1bed27750271f55d0d1ba1c0b0d2a89006cf8f02 /gst/equalizer/gstiirequalizer.c | |
parent | 1b6c70bf0b7424488b5594c78b76c1c8b796c1e7 (diff) | |
download | gstreamer-plugins-good-e59f930d9acc8e27be4cde9dfeb160467e5cbbf8.tar.gz |
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.
Diffstat (limited to 'gst/equalizer/gstiirequalizer.c')
-rw-r--r-- | gst/equalizer/gstiirequalizer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c index cd955e289..7cc4f7a3a 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; |