Is there any proper element that is opposited of funnel?

Sebastian Dröge slomo at circular-chaos.org
Tue Aug 27 00:01:29 PDT 2013


On Di, 2013-08-27 at 08:32 +0900, Wonchul Lee wrote:
> Hello
> I am curious about below thing.
> 
> 
> >Since funnel preserves stream IDs, you could probably create an
> element that creates >a pad for each stream it sees, and that would do
> what you want.
> 
> 
> 
> I can not find the code to keep the stream ID on funnel.

funnel forwards all sticky events it has whenever it switches to a new
pad. That includes the stream-start event with the stream-id.

> Could you give me a way to get the stream ID from the downstream
> element?

Check the sticky events on the pad, the stream-start event contains the
stream-id.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130827/535f46e2/attachment.pgp>


More information about the gstreamer-devel mailing list