link_pads_filtered
Description:
public bool link_pads_filtered (string? srcpadname, Element dest, string? destpadname, Caps? filter)
Links the two named pads of the source and destination elements.
Side effect is that if one of the pads has no parent, it becomes a child of the parent of the other element. If they have different parents,
the link fails. If caps
is not null
, makes sure that the caps of the link is a subset of caps
.
Parameters:
this |
a Element containing the source pad. |
srcpadname |
the name of the Pad in source element or |
dest |
the Element containing the destination pad. |
destpadname |
the name of the Pad in destination element or |
filter |
the Caps to filter the link, or |
Returns:
|