diff options
Diffstat (limited to 'GstDebugViewer/Plugins/Timeline.py')
-rw-r--r-- | GstDebugViewer/Plugins/Timeline.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/GstDebugViewer/Plugins/Timeline.py b/GstDebugViewer/Plugins/Timeline.py index 26fa4ed..891cab0 100644 --- a/GstDebugViewer/Plugins/Timeline.py +++ b/GstDebugViewer/Plugins/Timeline.py @@ -519,12 +519,11 @@ class TimelineWidget (gtk.DrawingArea): self.model = model - width = self.get_allocation ()[2] - self.process.abort () - if model: + if model is not None: self.process.freq_sentinel = LineFrequencySentinel (model) self.process.dist_sentinel = LevelDistributionSentinel (self.process.freq_sentinel, model) + width = self.get_allocation ()[2] self.process.freq_sentinel.run_for (width) self.process.run () |