level: fix level calculations for mutliple channels
This was broken with 7b90bf32150897a141a29a12ecab555d8c5b7fab.
This commit is contained in:
parent
cac239ab89
commit
6a8194e121
@ -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…
x
Reference in New Issue
Block a user