case of an error.
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
name | the name of the new pad, or null to assign a default name. |
target | the pad to ghost. |
templ | the #GstPadTemplate to use on the ghostpad. |
Returns
a new #GstPad, or null in