---
name: "GStreamer::GhostPad"
section: "3pm"
platform: "linux"
package: "libgstreamer-perl"
version: "0.19-1+b1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/GStreamer::GhostPad"
---

# GStreamer::GhostPad(3pm)

Pseudo link pads

## NAME

GStreamer::GhostPad -  Pseudo link pads

## HIERARCHY

```
  Glib::Object
  +----GStreamer::Object
       +----GStreamer::Pad
            +----GStreamer::Pad
                 +----GStreamer::GhostPad
```

## METHODS

### pad or undef = GStreamer::GhostPad-\>new ($name, $target)

- •

  `$name` (string or undef)

- •

  `$target` (GStreamer::Pad)

### pad or undef = GStreamer::GhostPad-\>new\_no\_target ($name, $dir)

- •

  `$name` (string or undef)

- •

  `$dir` (GStreamer::PadDirection)

### pad or undef = $gpad-\>get\_target

### boolean = $gpad-\>set\_target ($newtarget)

- •

  `$newtarget` (GStreamer::Pad)

## ENUMS AND FLAGS

### enum GStreamer::PadDirection

- •

  'unknown' / 'GST\_PAD\_UNKNOWN'

- •

  'src' / 'GST\_PAD\_SRC'

- •

  'sink' / 'GST\_PAD\_SINK'

## SEE ALSO

GStreamer, Glib::Object, GStreamer::Object, GStreamer::Pad, GStreamer::Pad

## COPYRIGHT

Copyright (C) 2005-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See GStreamer for a full notice.
