1GStreamer::Element(3) User Contributed Perl DocumentationGStreamer::Element(3)
2
3
4
6 GStreamer::Element
7
9 Glib::Object
10 +----GStreamer::Object
11 +----GStreamer::Element
12
14 $element->abort_state
15 boolean = $element->add_pad ($pad)
16 · $pad (GStreamer::Pad)
17
18 unsigned integer = $element->get_base_time
19 $element->set_base_time ($time)
20 · $time (unsigned integer)
21
22 bus or undef = $element->get_bus
23 clock or undef = $element->get_clock
24 $element->set_clock ($clock)
25 · $clock (GStreamer::Clock or undef)
26
27 pad = $element->get_compatible_pad ($pad, $caps)
28 · $pad (GStreamer::Pad)
29
30 · $caps (GStreamer::Caps)
31
32 padtemplate or undef = $element->get_compatible_pad_template ($compattempl)
33 · $compattempl (GStreamer::PadTemplate)
34
35 statechangereturn = $element->continue_state ($ret)
36 · $ret (GStreamer::StateChangeReturn)
37
38 elementfactory = $element->get_factory
39 $element->found_tags ($tag_list)
40 · $tag_list (GStreamer::TagList)
41
42 $element->found_tags_for_pad ($pad, $list)
43 · $pad (GStreamer::Pad)
44
45 · $list (GStreamer::TagList)
46
47 index or undef = $element->get_index
48 $element->set_index ($index)
49 · $index (GStreamer::Index)
50
51 boolean = $element->is_indexable
52 boolean = $element->is_locked_state
53 iterator = $element->iterate_pads
54 iterator = $element->iterate_sink_pads
55 iterator = $element->iterate_src_pads
56 boolean = $src->link ($dest, ...)
57 · $dest (GStreamer::Element)
58
59 · ... (list)
60
61 boolean = $src->link_filtered ($dest, $filtercaps)
62 · $dest (GStreamer::Element)
63
64 · $filtercaps (GStreamer::Caps or undef)
65
66 boolean = $src->link_pads ($srcpadname, $dest, $destpadname)
67 · $srcpadname (string)
68
69 · $dest (GStreamer::Element)
70
71 · $destpadname (string)
72
73 boolean = $src->link_pads_filtered ($srcpadname, $dest, $destpadname,
74 $filtercaps)
75 · $srcpadname (string)
76
77 · $dest (GStreamer::Element)
78
79 · $destpadname (string)
80
81 · $filtercaps (GStreamer::Caps or undef)
82
83 boolean = $element->set_locked_state ($locked_state)
84 · $locked_state (boolean)
85
86 $element->lost_state
87 $element->no_more_pads
88 pad or undef = $element->get_pad ($name)
89 · $name (string)
90
91 boolean = $element->post_message ($message)
92 · $message (GstMessage)
93
94 clock or undef = $element->provide_clock
95 boolean = $element->provides_clock
96 boolean = $element->query ($query)
97 · $query (GstQuery)
98
99 list = $element->get_query_types
100 boolean = $element->remove_pad ($pad)
101 · $pad (GStreamer::Pad)
102
103 pad or undef = $element->get_request_pad ($name)
104 · $name (string)
105
106 boolean = $element->requires_clock
107 boolean = $element->seek ($rate, $format, $flags, $cur_type, $cur,
108 $stop_type, $stop)
109 · $rate (double)
110
111 · $format (GStreamer::Format)
112
113 · $flags (GStreamer::SeekFlags)
114
115 · $cur_type (GStreamer::SeekType)
116
117 · $cur (64 bit integer)
118
119 · $stop_type (GStreamer::SeekType)
120
121 · $stop (64 bit integer)
122
123 boolean = $element->send_event ($event)
124 · $event (GstEvent)
125
126 list = $element->get_state ($timeout)
127 · $timeout (unsigned integer)
128
129 statechangereturn = $element->set_state ($state)
130 · $state (GStreamer::State)
131
132 pad or undef = $element->get_static_pad ($name)
133 · $name (string)
134
135 boolean = $element->sync_state_with_parent
136 $src->unlink ($dest, ...)
137 · $dest (GStreamer::Element)
138
139 · ... (list)
140
141 $src->unlink_pads ($srcpadname, $dest, $destpadname)
142 · $srcpadname (string)
143
144 · $dest (GStreamer::Element)
145
146 · $destpadname (string)
147
149 no-more-pads (GStreamer::Element)
150 pad-added (GStreamer::Element, GStreamer::Pad)
151 pad-removed (GStreamer::Element, GStreamer::Pad)
152
154 enum GStreamer::Format
155 · 'undefined' / 'GST_FORMAT_UNDEFINED'
156
157 · 'default' / 'GST_FORMAT_DEFAULT'
158
159 · 'bytes' / 'GST_FORMAT_BYTES'
160
161 · 'time' / 'GST_FORMAT_TIME'
162
163 · 'buffers' / 'GST_FORMAT_BUFFERS'
164
165 · 'percent' / 'GST_FORMAT_PERCENT'
166
167 flags GStreamer::SeekFlags
168 · 'none' / 'GST_SEEK_FLAG_NONE'
169
170 · 'flush' / 'GST_SEEK_FLAG_FLUSH'
171
172 · 'accurate' / 'GST_SEEK_FLAG_ACCURATE'
173
174 · 'key-unit' / 'GST_SEEK_FLAG_KEY_UNIT'
175
176 · 'segment' / 'GST_SEEK_FLAG_SEGMENT'
177
178 · 'skip' / 'GST_SEEK_FLAG_SKIP'
179
180 enum GStreamer::SeekType
181 · 'none' / 'GST_SEEK_TYPE_NONE'
182
183 · 'cur' / 'GST_SEEK_TYPE_CUR'
184
185 · 'set' / 'GST_SEEK_TYPE_SET'
186
187 · 'end' / 'GST_SEEK_TYPE_END'
188
189 enum GStreamer::State
190 · 'void-pending' / 'GST_STATE_VOID_PENDING'
191
192 · 'null' / 'GST_STATE_NULL'
193
194 · 'ready' / 'GST_STATE_READY'
195
196 · 'paused' / 'GST_STATE_PAUSED'
197
198 · 'playing' / 'GST_STATE_PLAYING'
199
200 enum GStreamer::StateChangeReturn
201 · 'failure' / 'GST_STATE_CHANGE_FAILURE'
202
203 · 'success' / 'GST_STATE_CHANGE_SUCCESS'
204
205 · 'async' / 'GST_STATE_CHANGE_ASYNC'
206
207 · 'no-preroll' / 'GST_STATE_CHANGE_NO_PREROLL'
208
210 GStreamer, Glib::Object, GStreamer::Object
211
213 Copyright (C) 2005-2014 by the gtk2-perl team.
214
215 This software is licensed under the LGPL. See GStreamer for a full
216 notice.
217
218
219
220perl v5.30.0 2019-09-19 GStreamer::Element(3)