summaryrefslogtreecommitdiffstats
path: root/gst/audiofx/audiodynamic.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/audiofx/audiodynamic.c')
-rw-r--r--gst/audiofx/audiodynamic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audiofx/audiodynamic.c b/gst/audiofx/audiodynamic.c
index 172333ab..883fc93e 100644
--- a/gst/audiofx/audiodynamic.c
+++ b/gst/audiofx/audiodynamic.c
@@ -699,7 +699,7 @@ gst_audio_dynamic_transform_ip (GstBaseTransform * base, GstBuffer * buf)
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)))