mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
level: fix level calculations for mutliple channels
This was broken with 7b90bf3215
.
This commit is contained in:
parent
cac239ab89
commit
6a8194e121
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue