mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
Fix more problems when clamping with filter turned on
This commit is contained in:
parent
075d186296
commit
0784883ebf
1 changed files with 4 additions and 2 deletions
|
@ -580,14 +580,16 @@ class FilteredLogModel (FilteredLogModelBase):
|
|||
|
||||
def __remove_range (self, start, end):
|
||||
|
||||
self.logger.debug ("removing line range first = %i, last = %i",
|
||||
start, end)
|
||||
del self.line_offsets[start:end + 1]
|
||||
del self.line_levels[start:end + 1]
|
||||
for super_index in self.super_index[start:end + 1]:
|
||||
del self.from_super_index[super_index]
|
||||
del self.super_index[start:end + 1]
|
||||
if start > 0:
|
||||
if start == 0:
|
||||
for super_index in self.super_index:
|
||||
self.from_super_index[super_index] -= start
|
||||
self.from_super_index[super_index] -= end
|
||||
|
||||
class Filter (object):
|
||||
|
||||
|
|
Loading…
Reference in a new issue