diff options
author | René Stadler <mail@renestadler.de> | 2012-08-27 13:45:57 -0700 |
---|---|---|
committer | René Stadler <mail@renestadler.de> | 2012-08-27 13:47:55 -0700 |
commit | ad1643a4c578ba32c4a04553391a850a16893172 (patch) | |
tree | d84f2feec8a7166efeeeed20bdfe2cc67c61d392 /GstDebugViewer | |
parent | 402cb844ae8107e3ea86fc6b93bd24b21eb4ba63 (diff) |
timeline: small cleanup
Diffstat (limited to 'GstDebugViewer')
-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 () |