GhostPad.this

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

The created ghostpad will not have a padtemplate.

Parameters

name string

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

dir GstPadDirection

the direction of the ghostpad

Return Value

a new gstreamer.Pad, or NULL in case of an error.

Throws

ConstructionException GTK+ fails to create the object.