projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac239a
)
level: fix level calculations for mutliple channels
author
Stefan Sauer
<ensonic@users.sf.net>
Wed, 26 Aug 2015 21:16:46 +0000
(23:16 +0200)
committer
Stefan Sauer
<ensonic@users.sf.net>
Thu, 27 Aug 2015 08:16:38 +0000
(10:16 +0200)
This was broken with
7b90bf32150897a141a29a12ecab555d8c5b7fab
.
gst/level/gstlevel.c
patch
|
blob
|
history
diff --git
a/gst/level/gstlevel.c
b/gst/level/gstlevel.c
index 1141db66061e23f17cfd9361bb474a9c415fc8d5..a8e41f0a91cdf84032bf01379c5b1c704340646c 100644
(file)
--- 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;