summaryrefslogtreecommitdiff
path: root/GstDebugViewer
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2012-08-27 13:46:14 -0700
committerRené Stadler <mail@renestadler.de>2012-08-27 13:48:03 -0700
commitac2df0ae22a694e755ade650ce0ba5e16dd14183 (patch)
tree88f589e50656eaa407110afa3fc762a91f8e85e3 /GstDebugViewer
parentad1643a4c578ba32c4a04553391a850a16893172 (diff)
timeline: stop scanning the file while filtering
Diffstat (limited to 'GstDebugViewer')
-rw-r--r--GstDebugViewer/Plugins/Timeline.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/GstDebugViewer/Plugins/Timeline.py b/GstDebugViewer/Plugins/Timeline.py
index 891cab0..2deab0e 100644
--- a/GstDebugViewer/Plugins/Timeline.py
+++ b/GstDebugViewer/Plugins/Timeline.py
@@ -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