[pitivi] SourecFactory: Don't remove the volume elements when a pad goes away. Fixes #594114
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] SourecFactory: Don't remove the volume elements when a pad goes away. Fixes #594114
- Date: Sat, 5 Sep 2009 17:25:31 +0000 (UTC)
commit 421b55438da3e5fb35c8c3b0d94e14daeb60d439
Author: Edward Hervey <bilboed bilboed com>
Date: Sat Sep 5 19:19:41 2009 +0200
SourecFactory: Don't remove the volume elements when a pad goes away. Fixes #594114
We only need to remove those elements when the bin is released, there's code that
takes care of that already.
pitivi/factories/base.py | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/pitivi/factories/base.py b/pitivi/factories/base.py
index 7ca5665..1b769f2 100644
--- a/pitivi/factories/base.py
+++ b/pitivi/factories/base.py
@@ -383,13 +383,6 @@ class SourceFactory(ObjectFactory):
del topbin.ghostpad
if hasattr(topbin, "volume"):
pad.unlink(topbin.aconv.get_pad("sink"))
- for elt in [topbin.volume, topbin.aconv, topbin.ares]:
- elt.set_state(gst.STATE_NULL)
- for elt in [topbin.volume, topbin.aconv, topbin.ares]:
- topbin.remove(elt)
- del topbin.volume
- del topbin.aconv
- del topbin.ares
def addInputStream(self, stream):
raise AssertionError("source factories can't have input streams")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]