summaryrefslogtreecommitdiff
path: root/voctocore/lib/pipeline.py
diff options
context:
space:
mode:
authorMaZderMind <peter@mazdermind.de>2014-08-30 18:13:21 +0200
committerMaZderMind <peter@mazdermind.de>2014-08-30 18:13:21 +0200
commit36e663429397ccfa14ed4132575214a4461678cb (patch)
tree0fa3aa72ea9f2b136ad3b9461f0e9b6faa1b8a6b /voctocore/lib/pipeline.py
parent45596b2e603e1ccb7cb271cc9834ede6293dd700 (diff)
properly link quadmixer with a requested pad
Diffstat (limited to 'voctocore/lib/pipeline.py')
-rw-r--r--voctocore/lib/pipeline.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/voctocore/lib/pipeline.py b/voctocore/lib/pipeline.py
index b89d2af..ce319bf 100644
--- a/voctocore/lib/pipeline.py
+++ b/voctocore/lib/pipeline.py
@@ -56,7 +56,9 @@ class Pipeline(Gst.Pipeline):
self.add(distributor)
sourcebin.link(distributor)
- self.quadmixer.add_source(distributor)
+ mixerpad = self.quadmixer.request_mixer_pad()
+ distributor.get_static_pad('src_a').link(mixerpad)
+
self.videomixer.add_source(distributor)
# distributor.link(self.quadmixer)