mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
timeline: small cleanup
This commit is contained in:
parent
fb9d9ca4cf
commit
6d6f71049f
1 changed files with 2 additions and 3 deletions
|
@ -519,12 +519,11 @@ class TimelineWidget (gtk.DrawingArea):
|
||||||
|
|
||||||
self.model = model
|
self.model = model
|
||||||
|
|
||||||
width = self.get_allocation ()[2]
|
|
||||||
|
|
||||||
self.process.abort ()
|
self.process.abort ()
|
||||||
if model:
|
if model is not None:
|
||||||
self.process.freq_sentinel = LineFrequencySentinel (model)
|
self.process.freq_sentinel = LineFrequencySentinel (model)
|
||||||
self.process.dist_sentinel = LevelDistributionSentinel (self.process.freq_sentinel, 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.freq_sentinel.run_for (width)
|
||||||
self.process.run ()
|
self.process.run ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue