mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 00:28:21 +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
|
||||
|
||||
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 ()
|
||||
|
||||
|
|
Loading…
Reference in a new issue