GStreamer::PadTemplate3pm
Describe the media type of a pad.
Hierarchy
Glib::Object+----GStreamer::Object+----GStreamer::PadTemplate
Methods
padtemplate = GStreamer::PadTemplate->new ($name_template, $direction, $presence, $caps)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
caps = $templ->get_caps
paddirection = $templ->get_direction
string = $templ->get_name_template
$templ->pad_created ($pad)
- •
-
$pad(GStreamer::Pad)
padpresence = $templ->get_presence
Properties
'caps' (GStreamer::Caps : default undef : readable / writable / construct-only / private)
|
The capabilities of the pad described by the pad template |
|---|---|
'direction' (GStreamer::PadDirection : default "unknown" : readable / writable / construct-only / private)
|
The direction of the pad described by the pad template |
'name-template' (string : default undef : readable / writable / construct-only / private)
|
The name template of the pad template |
'presence' (GStreamer::PadPresence : default "always" : readable / writable / construct-only / private)
|
When the pad described by the pad template will become available |
Signals
pad-created(GStreamer::PadTemplate, GStreamer::Pad)
Enums and flags
enum GStreamer::PadDirection
•
|
'unknown' / 'GST_PAD_UNKNOWN' |
|---|---|
•
|
'src' / 'GST_PAD_SRC' |
•
|
'sink' / 'GST_PAD_SINK' |
enum GStreamer::PadPresence
•
|
'always' / 'GST_PAD_ALWAYS' |
|---|---|
•
|
'sometimes' / 'GST_PAD_SOMETIMES' |
•
|
'request' / 'GST_PAD_REQUEST' |
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.