GhostPad.newNoTarget

gst.ghost_pad.GhostPad newNoTarget(string name, gst.types.PadDirection dir)

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.

Parameters

namethe name of the new pad, or null to assign a default name.
dirthe direction of the ghostpad

Returns

a new #GstPad, or null in

case of an error.