D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / packages / gstreamer-app-0.10 / gstreamer-app-0.10.gi
blobbec977d4d25b286c130629edd7869fc7f95ed7cd
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Gst">
4 <callback name="GstAppBufferFinalizeFunc">
5 <return-type type="void"/>
6 <parameters>
7 <parameter name="priv" type="void*"/>
8 </parameters>
9 </callback>
10 <struct name="GstAppBuffer">
11 <method name="new" symbol="gst_app_buffer_new">
12 <return-type type="GstBuffer*"/>
13 <parameters>
14 <parameter name="data" type="void*"/>
15 <parameter name="length" type="int"/>
16 <parameter name="finalize" type="GstAppBufferFinalizeFunc"/>
17 <parameter name="priv" type="void*"/>
18 </parameters>
19 </method>
20 <field name="buffer" type="GstBuffer"/>
21 <field name="finalize" type="GstAppBufferFinalizeFunc"/>
22 <field name="priv" type="void*"/>
23 </struct>
24 <struct name="GstAppBufferClass">
25 <field name="buffer_class" type="GstBufferClass"/>
26 </struct>
27 <struct name="GstAppSinkCallbacks">
28 <field name="eos" type="GCallback"/>
29 <field name="new_preroll" type="GCallback"/>
30 <field name="new_buffer" type="GCallback"/>
31 <field name="new_buffer_list" type="GCallback"/>
32 <field name="_gst_reserved" type="gpointer[]"/>
33 </struct>
34 <struct name="GstAppSrcCallbacks">
35 <field name="need_data" type="GCallback"/>
36 <field name="enough_data" type="GCallback"/>
37 <field name="seek_data" type="GCallback"/>
38 <field name="_gst_reserved" type="gpointer[]"/>
39 </struct>
40 <enum name="GstAppStreamType">
41 <member name="GST_APP_STREAM_TYPE_STREAM" value="0"/>
42 <member name="GST_APP_STREAM_TYPE_SEEKABLE" value="1"/>
43 <member name="GST_APP_STREAM_TYPE_RANDOM_ACCESS" value="2"/>
44 </enum>
45 <object name="GstAppSink" parent="GstBaseSink" type-name="GstAppSink" get-type="gst_app_sink_get_type">
46 <implements>
47 <interface name="GstURIHandler"/>
48 </implements>
49 <method name="get_caps" symbol="gst_app_sink_get_caps">
50 <return-type type="GstCaps*"/>
51 <parameters>
52 <parameter name="appsink" type="GstAppSink*"/>
53 </parameters>
54 </method>
55 <method name="get_drop" symbol="gst_app_sink_get_drop">
56 <return-type type="gboolean"/>
57 <parameters>
58 <parameter name="appsink" type="GstAppSink*"/>
59 </parameters>
60 </method>
61 <method name="get_emit_signals" symbol="gst_app_sink_get_emit_signals">
62 <return-type type="gboolean"/>
63 <parameters>
64 <parameter name="appsink" type="GstAppSink*"/>
65 </parameters>
66 </method>
67 <method name="get_max_buffers" symbol="gst_app_sink_get_max_buffers">
68 <return-type type="guint"/>
69 <parameters>
70 <parameter name="appsink" type="GstAppSink*"/>
71 </parameters>
72 </method>
73 <method name="is_eos" symbol="gst_app_sink_is_eos">
74 <return-type type="gboolean"/>
75 <parameters>
76 <parameter name="appsink" type="GstAppSink*"/>
77 </parameters>
78 </method>
79 <method name="pull_buffer" symbol="gst_app_sink_pull_buffer">
80 <return-type type="GstBuffer*"/>
81 <parameters>
82 <parameter name="appsink" type="GstAppSink*"/>
83 </parameters>
84 </method>
85 <method name="pull_buffer_list" symbol="gst_app_sink_pull_buffer_list">
86 <return-type type="GstBufferList*"/>
87 <parameters>
88 <parameter name="appsink" type="GstAppSink*"/>
89 </parameters>
90 </method>
91 <method name="pull_preroll" symbol="gst_app_sink_pull_preroll">
92 <return-type type="GstBuffer*"/>
93 <parameters>
94 <parameter name="appsink" type="GstAppSink*"/>
95 </parameters>
96 </method>
97 <method name="set_callbacks" symbol="gst_app_sink_set_callbacks">
98 <return-type type="void"/>
99 <parameters>
100 <parameter name="appsink" type="GstAppSink*"/>
101 <parameter name="callbacks" type="GstAppSinkCallbacks*"/>
102 <parameter name="user_data" type="gpointer"/>
103 <parameter name="notify" type="GDestroyNotify"/>
104 </parameters>
105 </method>
106 <method name="set_caps" symbol="gst_app_sink_set_caps">
107 <return-type type="void"/>
108 <parameters>
109 <parameter name="appsink" type="GstAppSink*"/>
110 <parameter name="caps" type="GstCaps*"/>
111 </parameters>
112 </method>
113 <method name="set_drop" symbol="gst_app_sink_set_drop">
114 <return-type type="void"/>
115 <parameters>
116 <parameter name="appsink" type="GstAppSink*"/>
117 <parameter name="drop" type="gboolean"/>
118 </parameters>
119 </method>
120 <method name="set_emit_signals" symbol="gst_app_sink_set_emit_signals">
121 <return-type type="void"/>
122 <parameters>
123 <parameter name="appsink" type="GstAppSink*"/>
124 <parameter name="emit" type="gboolean"/>
125 </parameters>
126 </method>
127 <method name="set_max_buffers" symbol="gst_app_sink_set_max_buffers">
128 <return-type type="void"/>
129 <parameters>
130 <parameter name="appsink" type="GstAppSink*"/>
131 <parameter name="max" type="guint"/>
132 </parameters>
133 </method>
134 <property name="caps" type="GstCaps*" readable="1" writable="1" construct="0" construct-only="0"/>
135 <property name="drop" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
136 <property name="emit-signals" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
137 <property name="eos" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
138 <property name="max-buffers" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
139 <signal name="eos" when="LAST">
140 <return-type type="void"/>
141 <parameters>
142 <parameter name="sink" type="GstAppSink*"/>
143 </parameters>
144 </signal>
145 <signal name="new-buffer" when="LAST">
146 <return-type type="void"/>
147 <parameters>
148 <parameter name="sink" type="GstAppSink*"/>
149 </parameters>
150 </signal>
151 <signal name="new-buffer-list" when="LAST">
152 <return-type type="void"/>
153 <parameters>
154 <parameter name="sink" type="GstAppSink*"/>
155 </parameters>
156 </signal>
157 <signal name="new-preroll" when="LAST">
158 <return-type type="void"/>
159 <parameters>
160 <parameter name="sink" type="GstAppSink*"/>
161 </parameters>
162 </signal>
163 <signal name="pull-buffer" when="LAST">
164 <return-type type="GstBuffer"/>
165 <parameters>
166 <parameter name="sink" type="GstAppSink*"/>
167 </parameters>
168 </signal>
169 <signal name="pull-buffer-list" when="LAST">
170 <return-type type="GstBufferList"/>
171 <parameters>
172 <parameter name="sink" type="GstAppSink*"/>
173 </parameters>
174 </signal>
175 <signal name="pull-preroll" when="LAST">
176 <return-type type="GstBuffer"/>
177 <parameters>
178 <parameter name="sink" type="GstAppSink*"/>
179 </parameters>
180 </signal>
181 </object>
182 <object name="GstAppSrc" parent="GstBaseSrc" type-name="GstAppSrc" get-type="gst_app_src_get_type">
183 <implements>
184 <interface name="GstURIHandler"/>
185 </implements>
186 <method name="end_of_stream" symbol="gst_app_src_end_of_stream">
187 <return-type type="GstFlowReturn"/>
188 <parameters>
189 <parameter name="appsrc" type="GstAppSrc*"/>
190 </parameters>
191 </method>
192 <method name="get_caps" symbol="gst_app_src_get_caps">
193 <return-type type="GstCaps*"/>
194 <parameters>
195 <parameter name="appsrc" type="GstAppSrc*"/>
196 </parameters>
197 </method>
198 <method name="get_emit_signals" symbol="gst_app_src_get_emit_signals">
199 <return-type type="gboolean"/>
200 <parameters>
201 <parameter name="appsrc" type="GstAppSrc*"/>
202 </parameters>
203 </method>
204 <method name="get_latency" symbol="gst_app_src_get_latency">
205 <return-type type="void"/>
206 <parameters>
207 <parameter name="appsrc" type="GstAppSrc*"/>
208 <parameter name="min" type="guint64*"/>
209 <parameter name="max" type="guint64*"/>
210 </parameters>
211 </method>
212 <method name="get_max_bytes" symbol="gst_app_src_get_max_bytes">
213 <return-type type="guint64"/>
214 <parameters>
215 <parameter name="appsrc" type="GstAppSrc*"/>
216 </parameters>
217 </method>
218 <method name="get_size" symbol="gst_app_src_get_size">
219 <return-type type="gint64"/>
220 <parameters>
221 <parameter name="appsrc" type="GstAppSrc*"/>
222 </parameters>
223 </method>
224 <method name="get_stream_type" symbol="gst_app_src_get_stream_type">
225 <return-type type="GstAppStreamType"/>
226 <parameters>
227 <parameter name="appsrc" type="GstAppSrc*"/>
228 </parameters>
229 </method>
230 <method name="push_buffer" symbol="gst_app_src_push_buffer">
231 <return-type type="GstFlowReturn"/>
232 <parameters>
233 <parameter name="appsrc" type="GstAppSrc*"/>
234 <parameter name="buffer" type="GstBuffer*"/>
235 </parameters>
236 </method>
237 <method name="set_callbacks" symbol="gst_app_src_set_callbacks">
238 <return-type type="void"/>
239 <parameters>
240 <parameter name="appsrc" type="GstAppSrc*"/>
241 <parameter name="callbacks" type="GstAppSrcCallbacks*"/>
242 <parameter name="user_data" type="gpointer"/>
243 <parameter name="notify" type="GDestroyNotify"/>
244 </parameters>
245 </method>
246 <method name="set_caps" symbol="gst_app_src_set_caps">
247 <return-type type="void"/>
248 <parameters>
249 <parameter name="appsrc" type="GstAppSrc*"/>
250 <parameter name="caps" type="GstCaps*"/>
251 </parameters>
252 </method>
253 <method name="set_emit_signals" symbol="gst_app_src_set_emit_signals">
254 <return-type type="void"/>
255 <parameters>
256 <parameter name="appsrc" type="GstAppSrc*"/>
257 <parameter name="emit" type="gboolean"/>
258 </parameters>
259 </method>
260 <method name="set_latency" symbol="gst_app_src_set_latency">
261 <return-type type="void"/>
262 <parameters>
263 <parameter name="appsrc" type="GstAppSrc*"/>
264 <parameter name="min" type="guint64"/>
265 <parameter name="max" type="guint64"/>
266 </parameters>
267 </method>
268 <method name="set_max_bytes" symbol="gst_app_src_set_max_bytes">
269 <return-type type="void"/>
270 <parameters>
271 <parameter name="appsrc" type="GstAppSrc*"/>
272 <parameter name="max" type="guint64"/>
273 </parameters>
274 </method>
275 <method name="set_size" symbol="gst_app_src_set_size">
276 <return-type type="void"/>
277 <parameters>
278 <parameter name="appsrc" type="GstAppSrc*"/>
279 <parameter name="size" type="gint64"/>
280 </parameters>
281 </method>
282 <method name="set_stream_type" symbol="gst_app_src_set_stream_type">
283 <return-type type="void"/>
284 <parameters>
285 <parameter name="appsrc" type="GstAppSrc*"/>
286 <parameter name="type" type="GstAppStreamType"/>
287 </parameters>
288 </method>
289 <property name="block" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
290 <property name="caps" type="GstCaps*" readable="1" writable="1" construct="0" construct-only="0"/>
291 <property name="emit-signals" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
292 <property name="format" type="GstFormat" readable="1" writable="1" construct="0" construct-only="0"/>
293 <property name="is-live" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
294 <property name="max-bytes" type="guint64" readable="1" writable="1" construct="0" construct-only="0"/>
295 <property name="max-latency" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
296 <property name="min-latency" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
297 <property name="min-percent" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
298 <property name="size" type="gint64" readable="1" writable="1" construct="0" construct-only="0"/>
299 <property name="stream-type" type="GstAppStreamType" readable="1" writable="1" construct="0" construct-only="0"/>
300 <signal name="end-of-stream" when="LAST">
301 <return-type type="GstFlowReturn"/>
302 <parameters>
303 <parameter name="src" type="GstAppSrc*"/>
304 </parameters>
305 </signal>
306 <signal name="enough-data" when="LAST">
307 <return-type type="void"/>
308 <parameters>
309 <parameter name="src" type="GstAppSrc*"/>
310 </parameters>
311 </signal>
312 <signal name="need-data" when="LAST">
313 <return-type type="void"/>
314 <parameters>
315 <parameter name="src" type="GstAppSrc*"/>
316 <parameter name="length" type="guint"/>
317 </parameters>
318 </signal>
319 <signal name="push-buffer" when="LAST">
320 <return-type type="GstFlowReturn"/>
321 <parameters>
322 <parameter name="src" type="GstAppSrc*"/>
323 <parameter name="buffer" type="GstBuffer"/>
324 </parameters>
325 </signal>
326 <signal name="seek-data" when="LAST">
327 <return-type type="gboolean"/>
328 <parameters>
329 <parameter name="src" type="GstAppSrc*"/>
330 <parameter name="offset" type="guint64"/>
331 </parameters>
332 </signal>
333 </object>
334 </namespace>
335 </api>