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