[pitivi] Make the EffectFactory release bins properly
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Make the EffectFactory release bins properly
- Date: Wed, 22 Sep 2010 13:40:55 +0000 (UTC)
commit 40630a841201bde5a10b6e1a11b851491a3da60b
Author: Thibault Saunier <tsaunier gnome org>
Date: Thu Jul 15 13:41:46 2010 -0400
Make the EffectFactory release bins properly
pitivi/factories/operation.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/factories/operation.py b/pitivi/factories/operation.py
index ed2ec09..3a8961c 100644
--- a/pitivi/factories/operation.py
+++ b/pitivi/factories/operation.py
@@ -93,6 +93,12 @@ class EffectFactory (TransformFactory):
return bin
+ def _releaseBin(self, bin):
+ elements = bin.elements()
+ for element in elements.next():
+ del element #bin.remove(element)
+
+
def addInputStream(self, stream):
return OperationFactory.addInputStream(self, stream)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]