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.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string name, gst.types.PadDirection direction)
    class Pad

Parameters

name string

the name of the new pad.

direction gst.types.PadDirection

the #GstPadDirection of the pad.

Return Value

a new #GstPad.

MT safe.