mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
timeline: stop scanning the file while filtering
This commit is contained in:
parent
6d6f71049f
commit
ad959763af
1 changed files with 2 additions and 1 deletions
|
@ -517,9 +517,9 @@ class TimelineWidget (gtk.DrawingArea):
|
|||
|
||||
def update (self, model):
|
||||
|
||||
self.clear ()
|
||||
self.model = model
|
||||
|
||||
self.process.abort ()
|
||||
if model is not None:
|
||||
self.process.freq_sentinel = LineFrequencySentinel (model)
|
||||
self.process.dist_sentinel = LevelDistributionSentinel (self.process.freq_sentinel, model)
|
||||
|
@ -529,6 +529,7 @@ class TimelineWidget (gtk.DrawingArea):
|
|||
|
||||
def clear (self):
|
||||
|
||||
self.model = None
|
||||
self.process.abort ()
|
||||
self.process.freq_sentinel = None
|
||||
self.process.dist_sentinel = None
|
||||
|
|
Loading…
Reference in a new issue