From 36e663429397ccfa14ed4132575214a4461678cb Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 30 Aug 2014 18:13:21 +0200 Subject: properly link quadmixer with a requested pad --- voctocore/lib/pipeline.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'voctocore/lib/pipeline.py') 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) -- cgit v1.2.3