GhostPad.this

Create a new ghostpad with target as the target. The direction will be taken from the target pad. target must be unlinked.

Will ref the target.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string name, gst.pad.Pad target)
    class GhostPad
    this

Parameters

name string

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

target gst.pad.Pad

the pad to ghost.

Return Value

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