Hi,
To see if an element is added to the pipeline you can use:
gst_bin_get_by_name((GstBin *)pipeline, "decoder");
where "decoder" was the name given when you created the element using
gst_element_factory_make()
To see if the element is linked, you'll need to get the pad you want
to test, and then use gst_pad_get_peer() to get the pad it is
connected to. Finally you'll need to use gst_pad_get_parent_element
on the peer pad to get the element.
There might be better way of doing this, but this is what I'd do.
Thanks
David
On 12 December 2011 23:17, kevin kelly <
[hidden email]> wrote:
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel