Element.getCompatiblePad

Looks for an unlinked pad to which the given pad can link. It is not guaranteed that linking the pads will work, though it should work in most cases.

class Element
getCompatiblePad

Parameters

pad Pad

the GstPad to find a compatible one for.

caps Caps

the GstCaps to use as a filter.

Return Value

Type: Pad

the GstPad to which a link can be made, or NULL if one cannot be found.

Meta