GhostPad.newFromTemplate

gst.ghost_pad.GhostPad newFromTemplate(string name, gst.pad.Pad target, gst.pad_template.PadTemplate templ)

Create a new ghostpad with target as the target. The direction will be taken from the target pad. The template used on the ghostpad will be template.

Will ref the target.

Parameters

namethe name of the new pad, or null to assign a default name.
targetthe pad to ghost.
templthe #GstPadTemplate to use on the ghostpad.

Returns

a new #GstPad, or null in

case of an error.