summaryrefslogtreecommitdiffstats
path: root/gst/audiofx/audiochebyshevfreqband.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/audiofx/audiochebyshevfreqband.c')
-rw-r--r--gst/audiofx/audiochebyshevfreqband.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audiofx/audiochebyshevfreqband.c b/gst/audiofx/audiochebyshevfreqband.c
index e39a6465..04fd5dc7 100644
--- a/gst/audiofx/audiochebyshevfreqband.c
+++ b/gst/audiofx/audiochebyshevfreqband.c
@@ -885,7 +885,7 @@ gst_audio_chebyshev_freq_band_transform_ip (GstBaseTransform * base,
guint num_samples =
GST_BUFFER_SIZE (buf) / (GST_AUDIO_FILTER (filter)->format.width / 8);
- if (!gst_buffer_is_writable (buf))
+ if (gst_base_transform_is_passthrough (base))
return GST_FLOW_OK;
if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_TIMESTAMP (buf)))