summaryrefslogtreecommitdiff
path: root/gst/level/gstlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/level/gstlevel.c')
-rw-r--r--gst/level/gstlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index 1141db660..a8e41f0a9 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -701,7 +701,7 @@ gst_level_transform_ip (GstBaseTransform * trans, GstBuffer * in)
filter->decay_peak_age[i] = G_GINT64_CONSTANT (0);
}
}
- in_data += block_size * bps;
+ in_data += block_size * bps * channels;
filter->num_frames += block_size;
num_frames -= block_size;