GhostPad.newNoTargetFromTemplate

Create a new ghostpad based on templ, without setting a target. The direction will be taken from the templ.

class GhostPad
static
newNoTargetFromTemplate

Parameters

name string

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

templ gst.pad_template.PadTemplate

the #GstPadTemplate to create the ghostpad from.

Return Value

Type: gst.ghost_pad.GhostPad

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