Commit 6a8194e1 authored by Stefan Sauer's avatar Stefan Sauer

level: fix level calculations for mutliple channels

This was broken with 7b90bf32.
parent cac239ab
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment