utils: expose pad_link_maybe_ghosting
authorMatthew Waters <matthew@centricular.com>
Fri, 25 Mar 2016 01:28:18 +0000 (01:28 +0000)
committerMatthew Waters <matthew@centricular.com>
Wed, 6 Apr 2016 13:26:41 +0000 (23:26 +1000)
commitf87630663856e15ef6d6e93b40a1f01f56aaa718
tree455d662b7347daf376a9996292dd6003f786b2fa
parent4503232f838c16b776c72c8776f67c12af2e0d41
utils: expose pad_link_maybe_ghosting

This is a useful function to automatically add ghost pads when linking
two elements across bin boundaries without know their exact parentage.

e.g. when using gst_parse_bin_from_description (with or without it ghosting pads),
one can simply retreive the src/sink pads from the bin to link to another pad.

Similar functionality is provided by gst_element_link_pads{_full}() however only
by pad name rather than by actual pads.

API: gst_pad_link_maybe_ghosting_full

https://bugzilla.gnome.org/show_bug.cgi?id=764176
docs/gst/gstreamer-sections.txt
gst/gstutils.c
gst/gstutils.h
win32/common/libgstreamer.def