Question regarding use of interleaved and deinterleaved elements in processing chain

Sebastian Dröge sebastian at centricular.com
Mon Aug 22 06:05:27 UTC 2016


On Sun, 2016-08-21 at 18:45 +0200, Hauke Krüger wrote:
> 
> 
> Here is the question: is that really the way it is supposed to work or 
> may I somehow trigger interleaver and deinterleaver
> to produce source and sink pads before actually switching to PLAYING 
> state? And if that is the way, how may I achieve the
> generation of the interleaver sink pads? The creation of the processing 
> chain is aways from src to sink which implies that the
> interleaver must have the sink pads connected first which are not available.

That's all intended, yes. deinterleave does not know about the number
of channels before it receives data.

You'll have to connect to the "pad-added" signal of it, and from there
link the pads further. See also the first part in chapter 8 of the
manual (application developer's manual).

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160822/1f9d4b5b/attachment.sig>


More information about the gstreamer-devel mailing list