GhostPad.newNoTarget

Create a new ghostpad without a target with the given direction. A target can be set on the ghostpad later with the gst.ghost_pad.GhostPad.setTarget function.

The created ghostpad will not have a padtemplate.

class GhostPad
static
newNoTarget

Parameters

name string

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

dir gst.types.PadDirection

the direction of the ghostpad

Return Value

Type: gst.ghost_pad.GhostPad

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