1GStreamer::Pad(3)     User Contributed Perl Documentation    GStreamer::Pad(3)
2
3
4

NAME

6       GStreamer::Pad
7

HIERARCHY

9         Glib::Object
10         +----GStreamer::Object
11              +----GStreamer::Pad
12

METHODS

14       pad or undef = GStreamer::Pad->new ($name, $direction)
15
16           * $name (string)
17           * $direction (GStreamer::PadDirection)
18
19       pad or undef = GStreamer::Pad->new_from_template ($templ, $name)
20
21           * $templ (GStreamer::PadTemplate)
22           * $name (string)
23
24       boolean = $pad->accept_caps ($caps)
25
26           * $caps (GStreamer::Caps)
27
28       boolean = $pad->activate_pull ($active)
29
30           * $active (boolean)
31
32       boolean = $pad->activate_push ($active)
33
34           * $active (boolean)
35
36       $pad->set_active ($active)
37
38           * $active (boolean)
39
40       caps or undef = $srcpad->get_allowed_caps
41
42       boolean = $pad->set_blocked ($blocked)
43
44           * $blocked (boolean)
45
46       caps = $pad->get_caps
47
48       boolean = $pad->set_caps ($caps)
49
50           * $caps (GStreamer::Caps or undef)
51
52       flowreturn = $pad->chain ($buffer)
53
54           * $buffer (GstBuffer)
55
56       boolean = $pad->check_pull_range
57
58       paddirection = $pad->get_direction
59
60       boolean = $pad->event_default ($event)
61
62           * $event (GstEvent)
63
64       $pad->fixate_caps ($caps)
65
66           * $caps (GStreamer::Caps)
67
68       list = $pad->get_internal_links_default
69
70       list = $pad->get_internal_links
71
72       boolean = $pad->is_active
73
74       boolean = $pad->is_blocked
75
76       boolean = $pad->is_linked
77
78       boolean = $srcpad->link ($sinkpad)
79
80           * $sinkpad (GStreamer::Pad)
81
82       caps or undef = $pad->get_negotiated_caps
83
84       caps = $pad->get_pad_template_caps
85
86       padtemplate = $pad->get_pad_template
87
88       boolean = $pad->pause_task
89
90       boolean = $pad->peer_accept_caps ($caps)
91
92           * $caps (GStreamer::Caps)
93
94       pad = $pad->get_peer
95
96       caps = $pad->peer_get_caps
97
98       list = $pad->pull_range ($offset, $size)
99
100           * $offset (Glib::UInt64)
101           * $size (integer)
102
103       flowreturn = $pad->push ($buffer)
104
105           * $buffer (GstBuffer)
106
107       boolean = $pad->push_event ($event)
108
109           * $event (GstEvent)
110
111       boolean = $pad->query ($query)
112
113           * $query (GstQuery)
114
115       boolean = $pad->query_default ($query)
116
117           * $query (GstQuery)
118
119       list = $pad->get_query_types_default
120
121       list = $pad->get_query_types
122
123       list = $pad->get_range ($offset, $size)
124
125           * $offset (Glib::UInt64)
126           * $size (integer)
127
128       boolean = $pad->send_event ($event)
129
130           * $event (GstEvent)
131
132       boolean = $pad->start_task ($func, $data=undef)
133
134           * $func (scalar)
135           * $data (scalar)
136
137       boolean = $pad->stop_task
138
139       $srcpad->unlink ($sinkpad)
140
141           * $sinkpad (GStreamer::Pad)
142

PROPERTIES

144       'caps' (GStreamer::Caps : readable)
145           The capabilities of the pad
146
147       'direction' (GStreamer::PadDirection : readable / writable / con‐
148       struct-only)
149           The direction of the pad
150
151       'template' (GStreamer::PadTemplate : readable / writable)
152           The GstPadTemplate of this pad
153

SIGNALS

155       linked (GStreamer::Pad, GStreamer::Pad)
156       unlinked (GStreamer::Pad, GStreamer::Pad)
157       request-link (GStreamer::Pad)
158       boolean = have-data (GStreamer::Pad, GStreamer::MiniObject)
159

ENUMS AND FLAGS

161       enum GStreamer::FlowReturn
162
163       * 'custom-success' / 'GST_FLOW_CUSTOM_SUCCESS'
164       * 'resend' / 'GST_FLOW_RESEND'
165       * 'ok' / 'GST_FLOW_OK'
166       * 'not-linked' / 'GST_FLOW_NOT_LINKED'
167       * 'wrong-state' / 'GST_FLOW_WRONG_STATE'
168       * 'unexpected' / 'GST_FLOW_UNEXPECTED'
169       * 'not-negotiated' / 'GST_FLOW_NOT_NEGOTIATED'
170       * 'error' / 'GST_FLOW_ERROR'
171       * 'not-supported' / 'GST_FLOW_NOT_SUPPORTED'
172       * 'custom-error' / 'GST_FLOW_CUSTOM_ERROR'
173
174       enum GStreamer::PadDirection
175
176       * 'unknown' / 'GST_PAD_UNKNOWN'
177       * 'src' / 'GST_PAD_SRC'
178       * 'sink' / 'GST_PAD_SINK'
179

SEE ALSO

181       GStreamer, Glib::Object, GStreamer::Object
182
184       Copyright (C) 2005-2006 by the gtk2-perl team.
185
186       This software is licensed under the LGPL.  See GStreamer for a full
187       notice.
188
189
190
191perl v5.8.8                       2007-02-20                 GStreamer::Pad(3)
Impressum