Pad.newFromTemplate

gst.pad.Pad newFromTemplate(gst.pad_template.PadTemplate templ, string name = null)

Creates a new pad with the given name from the given template. If name is null, a guaranteed unique name (across all pads) will be assigned. This function makes a copy of the name so you can safely free the name.

Parameters

templthe pad template to use
namethe name of the pad

Returns

a new #GstPad.