Pad.this

Creates a new pad with the given name in the given direction. If name is %NULL, a guaranteed unique name (across all pads) will be assigned. This function makes a copy of the name so you can safely free the name.

Parameters

name string

the name of the new pad.

direction GstPadDirection

the #GstPadDirection of the pad.

Return Value

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

MT safe.

Throws

ConstructionException GTK+ fails to create the object.

Meta