GhostPad.no_target


Description:

[ CCode ( has_construct_function = false , type = "GstPad*" ) ]
public GhostPad.no_target (string? name, PadDirection dir)

Create a new ghostpad without a target with the given direction.

A target can be set on the ghostpad later with the set_target function.

The created ghostpad will not have a padtemplate.

Parameters:

name

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

dir

the direction of the ghostpad

Returns:

a new Pad, or null in case of an error.