[gst-devel] plugins knowing about other plugins

Gergely Nagy gergely.nagy at neteyes.hu
Tue Mar 1 01:55:11 CET 2005


> My question is:  Can a plugin query GStreamer to figure out what other
> plugins are linked to its pads?  If so, when does this occur?

You can do a gst_pad_get_parent (gst_pad_get_peer (pad)) in, for example
the _link() function for your srcpad, and then figure out whether the
peer is the right element (eg, by checking a custom property, or
something like that).

There might be other options too..

-- 
Gergely Nagy <gergely.nagy at neteyes.hu>
NetEyes Kft.





More information about the gstreamer-devel mailing list