GhostPad.newFromTemplate

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

name string

the name of the new pad, or null to assign a default name.

target gst.pad.Pad

the pad to ghost.

templ gst.pad_template.PadTemplate

the #GstPadTemplate to use on the ghostpad.

Return Value

Type: gst.ghost_pad.GhostPad

a new #GstPad, or null in case of an error.