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 | 243e8464b04ea936aa9d3ce0b5c461c5666ed133 (patch) | |
tree | 23dc966d2fd559acc9809fc0320f021bedeeb978 /gst | |
parent | 5e1ac18fac1a81f80b0a79ce6dfb63064ce94911 (diff) | |
download | gst-plugins-bad-243e8464b04ea936aa9d3ce0b5c461c5666ed133.tar.gz gst-plugins-bad-243e8464b04ea936aa9d3ce0b5c461c5666ed133.tar.bz2 gst-plugins-bad-243e8464b04ea936aa9d3ce0b5c461c5666ed133.zip |
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')
-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 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; |