[pitivi] pipeline: Remove obsolete constructor parameter
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] pipeline: Remove obsolete constructor parameter
- Date: Mon, 10 Feb 2014 21:57:35 +0000 (UTC)
commit b09dc3f3a457c1f2116505f53252d20808d74167
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Thu Jan 16 15:02:04 2014 +0100
pipeline: Remove obsolete constructor parameter
pitivi/utils/pipeline.py | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 10af099..99f7728 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -156,7 +156,7 @@ class SimplePipeline(Signallable, Loggable):
"error": ["message", "details"]
}
- def __init__(self, pipeline, video_overlay):
+ def __init__(self, pipeline):
Loggable.__init__(self)
Signallable.__init__(self)
self._pipeline = pipeline
@@ -167,7 +167,6 @@ class SimplePipeline(Signallable, Loggable):
self._listeningInterval = 300 # default 300ms
self._listeningSigId = 0
self._duration = Gst.CLOCK_TIME_NONE
- self.video_overlay = video_overlay
self.lastPosition = long(0 * Gst.SECOND)
self.pendingRecovery = False
self._attempted_recoveries = 0
@@ -505,7 +504,7 @@ class AssetPipeline(SimplePipeline):
def __init__(self, clip):
bPipeline = Gst.ElementFactory.make("playbin", None)
bPipeline.set_property("uri", clip.props.uri)
- SimplePipeline.__init__(self, bPipeline, bPipeline)
+ SimplePipeline.__init__(self, bPipeline)
self.clip = clip
@@ -536,7 +535,7 @@ class Pipeline(GES.Pipeline, SimplePipeline):
def __init__(self, pipeline=None):
GES.Pipeline.__init__(self)
- SimplePipeline.__init__(self, self, self)
+ SimplePipeline.__init__(self, self)
self.clutter_sink = Gst.ElementFactory.make("cluttersink", None)
self.preview_set_video_sink(self.clutter_sink)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]