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

PROPERTIES

123       'caps' (GStreamer::Caps : default undef : readable / private)
124           The capabilities of the pad
125
126       'direction' (GStreamer::PadDirection : default "unknown" : readable /
127       writable / construct-only / private)
128           The direction of the pad
129
130       'template' (GStreamer::PadTemplate : default undef : readable /
131       writable / private)
132           The GstPadTemplate of this pad
133

SIGNALS

135       boolean = have-data (GStreamer::Pad, GStreamer::MiniObject)
136       linked (GStreamer::Pad, GStreamer::Pad)
137       request-link (GStreamer::Pad)
138       unlinked (GStreamer::Pad, GStreamer::Pad)
139

ENUMS AND FLAGS

141   enum GStreamer::FlowReturn
142       ·   'custom-success-2' / 'GST_FLOW_CUSTOM_SUCCESS_2'
143
144       ·   'custom-success-1' / 'GST_FLOW_CUSTOM_SUCCESS_1'
145
146       ·   'custom-success' / 'GST_FLOW_CUSTOM_SUCCESS'
147
148       ·   'resend' / 'GST_FLOW_RESEND'
149
150       ·   'ok' / 'GST_FLOW_OK'
151
152       ·   'not-linked' / 'GST_FLOW_NOT_LINKED'
153
154       ·   'wrong-state' / 'GST_FLOW_WRONG_STATE'
155
156       ·   'unexpected' / 'GST_FLOW_UNEXPECTED'
157
158       ·   'not-negotiated' / 'GST_FLOW_NOT_NEGOTIATED'
159
160       ·   'error' / 'GST_FLOW_ERROR'
161
162       ·   'not-supported' / 'GST_FLOW_NOT_SUPPORTED'
163
164       ·   'custom-error' / 'GST_FLOW_CUSTOM_ERROR'
165
166       ·   'custom-error-1' / 'GST_FLOW_CUSTOM_ERROR_1'
167
168       ·   'custom-error-2' / 'GST_FLOW_CUSTOM_ERROR_2'
169
170   enum GStreamer::PadDirection
171       ·   'unknown' / 'GST_PAD_UNKNOWN'
172
173       ·   'src' / 'GST_PAD_SRC'
174
175       ·   'sink' / 'GST_PAD_SINK'
176

SEE ALSO

178       GStreamer, Glib::Object, GStreamer::Object
179
181       Copyright (C) 2005-2014 by the gtk2-perl team.
182
183       This software is licensed under the LGPL.  See GStreamer for a full
184       notice.
185
186
187
188perl v5.30.0                      2019-09-19                 GStreamer::Pad(3)
Impressum