mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
Fix level distribution calculation for the last partition
This commit is contained in:
parent
4ef74e1099
commit
f61574dbda
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ class LevelDistributionSentinel (object):
|
||||||
counts[level] += 1
|
counts[level] += 1
|
||||||
tree_iter = model_next (tree_iter)
|
tree_iter = model_next (tree_iter)
|
||||||
|
|
||||||
# FIXME: We lose the last partition here!
|
# Now handle the last one:
|
||||||
|
data.append (tuple (counts))
|
||||||
|
|
||||||
yield False
|
yield False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue