Pad.newFromTemplate

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.

class Pad
static
newFromTemplate

Parameters

templ gst.pad_template.PadTemplate

the pad template to use

name string

the name of the pad

Return Value

Type: gst.pad.Pad

a new #GstPad.