[pitivi] previewers: stop waveforms and thumbnails generation when removing clips
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] previewers: stop waveforms and thumbnails generation when removing clips
- Date: Wed, 30 Oct 2013 16:50:13 +0000 (UTC)
commit 1de8d960edc79fdbc377df684c6d276ab23dc85b
Author: Mathieu Duponchelle <mduponchelle1 gmail com>
Date: Sun Oct 6 23:38:03 2013 +0200
previewers: stop waveforms and thumbnails generation when removing clips
pitivi/timeline/previewers.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/previewers.py b/pitivi/timeline/previewers.py
index ddcbcef..8cd55c1 100644
--- a/pitivi/timeline/previewers.py
+++ b/pitivi/timeline/previewers.py
@@ -513,6 +513,7 @@ class VideoPreviewer(Clutter.ScrollActor, PreviewGenerator, Zoomable, Loggable):
PreviewGenerator.emit(self, "done")
def cleanup(self):
+ self.stopGeneration()
Zoomable.__del__(self)
@@ -988,6 +989,7 @@ class AudioPreviewer(Clutter.Actor, PreviewGenerator, Zoomable, Loggable):
PreviewGenerator.emit(self, "done")
def cleanup(self):
+ self.stopGeneration()
self.canvas.disconnect_by_func(self._drawContentCb)
self.timeline.disconnect_by_func(self._scrolledCb)
Zoomable.__del__(self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]