|
1 |
|
2 /* Generated data (by glib-mkenums) */ |
|
3 |
|
4 #include "gst_private.h" |
|
5 #include <gst/gst.h> |
|
6 #define C_ENUM(v) ((gint) v) |
|
7 #define C_FLAGS(v) ((guint) v) |
|
8 |
|
9 |
|
10 /* enumerations from "gstobject.h" */ |
|
11 static void |
|
12 register_gst_object_flags (GType* id) |
|
13 { |
|
14 static const GFlagsValue values[] = { |
|
15 { C_FLAGS(GST_OBJECT_DISPOSING), "GST_OBJECT_DISPOSING", "disposing" }, |
|
16 { C_FLAGS(GST_OBJECT_FLOATING), "GST_OBJECT_FLOATING", "floating" }, |
|
17 { C_FLAGS(GST_OBJECT_FLAG_LAST), "GST_OBJECT_FLAG_LAST", "flag-last" }, |
|
18 { 0, NULL, NULL } |
|
19 }; |
|
20 *id = g_flags_register_static ("GstObjectFlags", values); |
|
21 } |
|
22 #ifdef __SYMBIAN32__ |
|
23 EXPORT_C |
|
24 #endif |
|
25 |
|
26 GType |
|
27 gst_object_flags_get_type (void) |
|
28 { |
|
29 static GType id; |
|
30 static GOnce once = G_ONCE_INIT; |
|
31 |
|
32 g_once (&once, (GThreadFunc)register_gst_object_flags, &id); |
|
33 return id; |
|
34 } |
|
35 |
|
36 /* enumerations from "gstbin.h" */ |
|
37 static void |
|
38 register_gst_bin_flags (GType* id) |
|
39 { |
|
40 static const GFlagsValue values[] = { |
|
41 { C_FLAGS(GST_BIN_FLAG_LAST), "GST_BIN_FLAG_LAST", "last" }, |
|
42 { 0, NULL, NULL } |
|
43 }; |
|
44 *id = g_flags_register_static ("GstBinFlags", values); |
|
45 } |
|
46 #ifdef __SYMBIAN32__ |
|
47 EXPORT_C |
|
48 #endif |
|
49 |
|
50 GType |
|
51 gst_bin_flags_get_type (void) |
|
52 { |
|
53 static GType id; |
|
54 static GOnce once = G_ONCE_INIT; |
|
55 |
|
56 g_once (&once, (GThreadFunc)register_gst_bin_flags, &id); |
|
57 return id; |
|
58 } |
|
59 |
|
60 /* enumerations from "gstbuffer.h" */ |
|
61 static void |
|
62 register_gst_buffer_flag (GType* id) |
|
63 { |
|
64 static const GFlagsValue values[] = { |
|
65 { C_FLAGS(GST_BUFFER_FLAG_READONLY), "GST_BUFFER_FLAG_READONLY", "readonly" }, |
|
66 { C_FLAGS(GST_BUFFER_FLAG_PREROLL), "GST_BUFFER_FLAG_PREROLL", "preroll" }, |
|
67 { C_FLAGS(GST_BUFFER_FLAG_DISCONT), "GST_BUFFER_FLAG_DISCONT", "discont" }, |
|
68 { C_FLAGS(GST_BUFFER_FLAG_IN_CAPS), "GST_BUFFER_FLAG_IN_CAPS", "in-caps" }, |
|
69 { C_FLAGS(GST_BUFFER_FLAG_GAP), "GST_BUFFER_FLAG_GAP", "gap" }, |
|
70 { C_FLAGS(GST_BUFFER_FLAG_DELTA_UNIT), "GST_BUFFER_FLAG_DELTA_UNIT", "delta-unit" }, |
|
71 { C_FLAGS(GST_BUFFER_FLAG_LAST), "GST_BUFFER_FLAG_LAST", "last" }, |
|
72 { 0, NULL, NULL } |
|
73 }; |
|
74 *id = g_flags_register_static ("GstBufferFlag", values); |
|
75 } |
|
76 #ifdef __SYMBIAN32__ |
|
77 EXPORT_C |
|
78 #endif |
|
79 |
|
80 GType |
|
81 gst_buffer_flag_get_type (void) |
|
82 { |
|
83 static GType id; |
|
84 static GOnce once = G_ONCE_INIT; |
|
85 |
|
86 g_once (&once, (GThreadFunc)register_gst_buffer_flag, &id); |
|
87 return id; |
|
88 } |
|
89 static void |
|
90 register_gst_buffer_copy_flags (GType* id) |
|
91 { |
|
92 static const GFlagsValue values[] = { |
|
93 { C_FLAGS(GST_BUFFER_COPY_FLAGS), "GST_BUFFER_COPY_FLAGS", "flags" }, |
|
94 { C_FLAGS(GST_BUFFER_COPY_TIMESTAMPS), "GST_BUFFER_COPY_TIMESTAMPS", "timestamps" }, |
|
95 { C_FLAGS(GST_BUFFER_COPY_CAPS), "GST_BUFFER_COPY_CAPS", "caps" }, |
|
96 { 0, NULL, NULL } |
|
97 }; |
|
98 *id = g_flags_register_static ("GstBufferCopyFlags", values); |
|
99 } |
|
100 #ifdef __SYMBIAN32__ |
|
101 EXPORT_C |
|
102 #endif |
|
103 |
|
104 GType |
|
105 gst_buffer_copy_flags_get_type (void) |
|
106 { |
|
107 static GType id; |
|
108 static GOnce once = G_ONCE_INIT; |
|
109 |
|
110 g_once (&once, (GThreadFunc)register_gst_buffer_copy_flags, &id); |
|
111 return id; |
|
112 } |
|
113 |
|
114 /* enumerations from "gstbus.h" */ |
|
115 static void |
|
116 register_gst_bus_flags (GType* id) |
|
117 { |
|
118 static const GFlagsValue values[] = { |
|
119 { C_FLAGS(GST_BUS_FLUSHING), "GST_BUS_FLUSHING", "flushing" }, |
|
120 { C_FLAGS(GST_BUS_FLAG_LAST), "GST_BUS_FLAG_LAST", "flag-last" }, |
|
121 { 0, NULL, NULL } |
|
122 }; |
|
123 *id = g_flags_register_static ("GstBusFlags", values); |
|
124 } |
|
125 #ifdef __SYMBIAN32__ |
|
126 EXPORT_C |
|
127 #endif |
|
128 |
|
129 GType |
|
130 gst_bus_flags_get_type (void) |
|
131 { |
|
132 static GType id; |
|
133 static GOnce once = G_ONCE_INIT; |
|
134 |
|
135 g_once (&once, (GThreadFunc)register_gst_bus_flags, &id); |
|
136 return id; |
|
137 } |
|
138 static void |
|
139 register_gst_bus_sync_reply (GType* id) |
|
140 { |
|
141 static const GEnumValue values[] = { |
|
142 { C_ENUM(GST_BUS_DROP), "GST_BUS_DROP", "drop" }, |
|
143 { C_ENUM(GST_BUS_PASS), "GST_BUS_PASS", "pass" }, |
|
144 { C_ENUM(GST_BUS_ASYNC), "GST_BUS_ASYNC", "async" }, |
|
145 { 0, NULL, NULL } |
|
146 }; |
|
147 *id = g_enum_register_static ("GstBusSyncReply", values); |
|
148 } |
|
149 #ifdef __SYMBIAN32__ |
|
150 EXPORT_C |
|
151 #endif |
|
152 |
|
153 GType |
|
154 gst_bus_sync_reply_get_type (void) |
|
155 { |
|
156 static GType id; |
|
157 static GOnce once = G_ONCE_INIT; |
|
158 |
|
159 g_once (&once, (GThreadFunc)register_gst_bus_sync_reply, &id); |
|
160 return id; |
|
161 } |
|
162 |
|
163 /* enumerations from "gstcaps.h" */ |
|
164 static void |
|
165 register_gst_caps_flags (GType* id) |
|
166 { |
|
167 static const GFlagsValue values[] = { |
|
168 { C_FLAGS(GST_CAPS_FLAGS_ANY), "GST_CAPS_FLAGS_ANY", "any" }, |
|
169 { 0, NULL, NULL } |
|
170 }; |
|
171 *id = g_flags_register_static ("GstCapsFlags", values); |
|
172 } |
|
173 #ifdef __SYMBIAN32__ |
|
174 EXPORT_C |
|
175 #endif |
|
176 |
|
177 GType |
|
178 gst_caps_flags_get_type (void) |
|
179 { |
|
180 static GType id; |
|
181 static GOnce once = G_ONCE_INIT; |
|
182 |
|
183 g_once (&once, (GThreadFunc)register_gst_caps_flags, &id); |
|
184 return id; |
|
185 } |
|
186 |
|
187 /* enumerations from "gstclock.h" */ |
|
188 static void |
|
189 register_gst_clock_return (GType* id) |
|
190 { |
|
191 static const GEnumValue values[] = { |
|
192 { C_ENUM(GST_CLOCK_OK), "GST_CLOCK_OK", "ok" }, |
|
193 { C_ENUM(GST_CLOCK_EARLY), "GST_CLOCK_EARLY", "early" }, |
|
194 { C_ENUM(GST_CLOCK_UNSCHEDULED), "GST_CLOCK_UNSCHEDULED", "unscheduled" }, |
|
195 { C_ENUM(GST_CLOCK_BUSY), "GST_CLOCK_BUSY", "busy" }, |
|
196 { C_ENUM(GST_CLOCK_BADTIME), "GST_CLOCK_BADTIME", "badtime" }, |
|
197 { C_ENUM(GST_CLOCK_ERROR), "GST_CLOCK_ERROR", "error" }, |
|
198 { C_ENUM(GST_CLOCK_UNSUPPORTED), "GST_CLOCK_UNSUPPORTED", "unsupported" }, |
|
199 { 0, NULL, NULL } |
|
200 }; |
|
201 *id = g_enum_register_static ("GstClockReturn", values); |
|
202 } |
|
203 #ifdef __SYMBIAN32__ |
|
204 EXPORT_C |
|
205 #endif |
|
206 |
|
207 GType |
|
208 gst_clock_return_get_type (void) |
|
209 { |
|
210 static GType id; |
|
211 static GOnce once = G_ONCE_INIT; |
|
212 |
|
213 g_once (&once, (GThreadFunc)register_gst_clock_return, &id); |
|
214 return id; |
|
215 } |
|
216 static void |
|
217 register_gst_clock_entry_type (GType* id) |
|
218 { |
|
219 static const GEnumValue values[] = { |
|
220 { C_ENUM(GST_CLOCK_ENTRY_SINGLE), "GST_CLOCK_ENTRY_SINGLE", "single" }, |
|
221 { C_ENUM(GST_CLOCK_ENTRY_PERIODIC), "GST_CLOCK_ENTRY_PERIODIC", "periodic" }, |
|
222 { 0, NULL, NULL } |
|
223 }; |
|
224 *id = g_enum_register_static ("GstClockEntryType", values); |
|
225 } |
|
226 #ifdef __SYMBIAN32__ |
|
227 EXPORT_C |
|
228 #endif |
|
229 |
|
230 GType |
|
231 gst_clock_entry_type_get_type (void) |
|
232 { |
|
233 static GType id; |
|
234 static GOnce once = G_ONCE_INIT; |
|
235 |
|
236 g_once (&once, (GThreadFunc)register_gst_clock_entry_type, &id); |
|
237 return id; |
|
238 } |
|
239 static void |
|
240 register_gst_clock_flags (GType* id) |
|
241 { |
|
242 static const GFlagsValue values[] = { |
|
243 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC), "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", "can-do-single-sync" }, |
|
244 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC), "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", "can-do-single-async" }, |
|
245 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC), "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "can-do-periodic-sync" }, |
|
246 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC), "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "can-do-periodic-async" }, |
|
247 { C_FLAGS(GST_CLOCK_FLAG_CAN_SET_RESOLUTION), "GST_CLOCK_FLAG_CAN_SET_RESOLUTION", "can-set-resolution" }, |
|
248 { C_FLAGS(GST_CLOCK_FLAG_CAN_SET_MASTER), "GST_CLOCK_FLAG_CAN_SET_MASTER", "can-set-master" }, |
|
249 { C_FLAGS(GST_CLOCK_FLAG_LAST), "GST_CLOCK_FLAG_LAST", "last" }, |
|
250 { 0, NULL, NULL } |
|
251 }; |
|
252 *id = g_flags_register_static ("GstClockFlags", values); |
|
253 } |
|
254 #ifdef __SYMBIAN32__ |
|
255 EXPORT_C |
|
256 #endif |
|
257 |
|
258 GType |
|
259 gst_clock_flags_get_type (void) |
|
260 { |
|
261 static GType id; |
|
262 static GOnce once = G_ONCE_INIT; |
|
263 |
|
264 g_once (&once, (GThreadFunc)register_gst_clock_flags, &id); |
|
265 return id; |
|
266 } |
|
267 |
|
268 /* enumerations from "gstdebugutils.h" */ |
|
269 static void |
|
270 register_gst_debug_graph_details (GType* id) |
|
271 { |
|
272 static const GFlagsValue values[] = { |
|
273 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE), "GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE", "media-type" }, |
|
274 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS), "GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS", "caps-details" }, |
|
275 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS), "GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS", "non-default-params" }, |
|
276 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_STATES), "GST_DEBUG_GRAPH_SHOW_STATES", "states" }, |
|
277 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_ALL), "GST_DEBUG_GRAPH_SHOW_ALL", "all" }, |
|
278 { 0, NULL, NULL } |
|
279 }; |
|
280 *id = g_flags_register_static ("GstDebugGraphDetails", values); |
|
281 } |
|
282 #ifdef __SYMBIAN32__ |
|
283 EXPORT_C |
|
284 #endif |
|
285 |
|
286 GType |
|
287 gst_debug_graph_details_get_type (void) |
|
288 { |
|
289 static GType id; |
|
290 static GOnce once = G_ONCE_INIT; |
|
291 |
|
292 g_once (&once, (GThreadFunc)register_gst_debug_graph_details, &id); |
|
293 return id; |
|
294 } |
|
295 |
|
296 /* enumerations from "gstelement.h" */ |
|
297 static void |
|
298 register_gst_state (GType* id) |
|
299 { |
|
300 static const GEnumValue values[] = { |
|
301 { C_ENUM(GST_STATE_VOID_PENDING), "GST_STATE_VOID_PENDING", "void-pending" }, |
|
302 { C_ENUM(GST_STATE_NULL), "GST_STATE_NULL", "null" }, |
|
303 { C_ENUM(GST_STATE_READY), "GST_STATE_READY", "ready" }, |
|
304 { C_ENUM(GST_STATE_PAUSED), "GST_STATE_PAUSED", "paused" }, |
|
305 { C_ENUM(GST_STATE_PLAYING), "GST_STATE_PLAYING", "playing" }, |
|
306 { 0, NULL, NULL } |
|
307 }; |
|
308 *id = g_enum_register_static ("GstState", values); |
|
309 } |
|
310 #ifdef __SYMBIAN32__ |
|
311 EXPORT_C |
|
312 #endif |
|
313 |
|
314 GType |
|
315 gst_state_get_type (void) |
|
316 { |
|
317 static GType id; |
|
318 static GOnce once = G_ONCE_INIT; |
|
319 |
|
320 g_once (&once, (GThreadFunc)register_gst_state, &id); |
|
321 return id; |
|
322 } |
|
323 static void |
|
324 register_gst_state_change_return (GType* id) |
|
325 { |
|
326 static const GEnumValue values[] = { |
|
327 { C_ENUM(GST_STATE_CHANGE_FAILURE), "GST_STATE_CHANGE_FAILURE", "failure" }, |
|
328 { C_ENUM(GST_STATE_CHANGE_SUCCESS), "GST_STATE_CHANGE_SUCCESS", "success" }, |
|
329 { C_ENUM(GST_STATE_CHANGE_ASYNC), "GST_STATE_CHANGE_ASYNC", "async" }, |
|
330 { C_ENUM(GST_STATE_CHANGE_NO_PREROLL), "GST_STATE_CHANGE_NO_PREROLL", "no-preroll" }, |
|
331 { 0, NULL, NULL } |
|
332 }; |
|
333 *id = g_enum_register_static ("GstStateChangeReturn", values); |
|
334 } |
|
335 #ifdef __SYMBIAN32__ |
|
336 EXPORT_C |
|
337 #endif |
|
338 |
|
339 GType |
|
340 gst_state_change_return_get_type (void) |
|
341 { |
|
342 static GType id; |
|
343 static GOnce once = G_ONCE_INIT; |
|
344 |
|
345 g_once (&once, (GThreadFunc)register_gst_state_change_return, &id); |
|
346 return id; |
|
347 } |
|
348 static void |
|
349 register_gst_state_change (GType* id) |
|
350 { |
|
351 static const GEnumValue values[] = { |
|
352 { C_ENUM(GST_STATE_CHANGE_NULL_TO_READY), "GST_STATE_CHANGE_NULL_TO_READY", "null-to-ready" }, |
|
353 { C_ENUM(GST_STATE_CHANGE_READY_TO_PAUSED), "GST_STATE_CHANGE_READY_TO_PAUSED", "ready-to-paused" }, |
|
354 { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_PLAYING), "GST_STATE_CHANGE_PAUSED_TO_PLAYING", "paused-to-playing" }, |
|
355 { C_ENUM(GST_STATE_CHANGE_PLAYING_TO_PAUSED), "GST_STATE_CHANGE_PLAYING_TO_PAUSED", "playing-to-paused" }, |
|
356 { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_READY), "GST_STATE_CHANGE_PAUSED_TO_READY", "paused-to-ready" }, |
|
357 { C_ENUM(GST_STATE_CHANGE_READY_TO_NULL), "GST_STATE_CHANGE_READY_TO_NULL", "ready-to-null" }, |
|
358 { 0, NULL, NULL } |
|
359 }; |
|
360 *id = g_enum_register_static ("GstStateChange", values); |
|
361 } |
|
362 #ifdef __SYMBIAN32__ |
|
363 EXPORT_C |
|
364 #endif |
|
365 |
|
366 GType |
|
367 gst_state_change_get_type (void) |
|
368 { |
|
369 static GType id; |
|
370 static GOnce once = G_ONCE_INIT; |
|
371 |
|
372 g_once (&once, (GThreadFunc)register_gst_state_change, &id); |
|
373 return id; |
|
374 } |
|
375 static void |
|
376 register_gst_element_flags (GType* id) |
|
377 { |
|
378 static const GFlagsValue values[] = { |
|
379 { C_FLAGS(GST_ELEMENT_LOCKED_STATE), "GST_ELEMENT_LOCKED_STATE", "locked-state" }, |
|
380 { C_FLAGS(GST_ELEMENT_IS_SINK), "GST_ELEMENT_IS_SINK", "is-sink" }, |
|
381 { C_FLAGS(GST_ELEMENT_UNPARENTING), "GST_ELEMENT_UNPARENTING", "unparenting" }, |
|
382 { C_FLAGS(GST_ELEMENT_FLAG_LAST), "GST_ELEMENT_FLAG_LAST", "flag-last" }, |
|
383 { 0, NULL, NULL } |
|
384 }; |
|
385 *id = g_flags_register_static ("GstElementFlags", values); |
|
386 } |
|
387 #ifdef __SYMBIAN32__ |
|
388 EXPORT_C |
|
389 #endif |
|
390 |
|
391 GType |
|
392 gst_element_flags_get_type (void) |
|
393 { |
|
394 static GType id; |
|
395 static GOnce once = G_ONCE_INIT; |
|
396 |
|
397 g_once (&once, (GThreadFunc)register_gst_element_flags, &id); |
|
398 return id; |
|
399 } |
|
400 |
|
401 /* enumerations from "gsterror.h" */ |
|
402 static void |
|
403 register_gst_core_error (GType* id) |
|
404 { |
|
405 static const GEnumValue values[] = { |
|
406 { C_ENUM(GST_CORE_ERROR_FAILED), "GST_CORE_ERROR_FAILED", "failed" }, |
|
407 { C_ENUM(GST_CORE_ERROR_TOO_LAZY), "GST_CORE_ERROR_TOO_LAZY", "too-lazy" }, |
|
408 { C_ENUM(GST_CORE_ERROR_NOT_IMPLEMENTED), "GST_CORE_ERROR_NOT_IMPLEMENTED", "not-implemented" }, |
|
409 { C_ENUM(GST_CORE_ERROR_STATE_CHANGE), "GST_CORE_ERROR_STATE_CHANGE", "state-change" }, |
|
410 { C_ENUM(GST_CORE_ERROR_PAD), "GST_CORE_ERROR_PAD", "pad" }, |
|
411 { C_ENUM(GST_CORE_ERROR_THREAD), "GST_CORE_ERROR_THREAD", "thread" }, |
|
412 { C_ENUM(GST_CORE_ERROR_NEGOTIATION), "GST_CORE_ERROR_NEGOTIATION", "negotiation" }, |
|
413 { C_ENUM(GST_CORE_ERROR_EVENT), "GST_CORE_ERROR_EVENT", "event" }, |
|
414 { C_ENUM(GST_CORE_ERROR_SEEK), "GST_CORE_ERROR_SEEK", "seek" }, |
|
415 { C_ENUM(GST_CORE_ERROR_CAPS), "GST_CORE_ERROR_CAPS", "caps" }, |
|
416 { C_ENUM(GST_CORE_ERROR_TAG), "GST_CORE_ERROR_TAG", "tag" }, |
|
417 { C_ENUM(GST_CORE_ERROR_MISSING_PLUGIN), "GST_CORE_ERROR_MISSING_PLUGIN", "missing-plugin" }, |
|
418 { C_ENUM(GST_CORE_ERROR_CLOCK), "GST_CORE_ERROR_CLOCK", "clock" }, |
|
419 { C_ENUM(GST_CORE_ERROR_DISABLED), "GST_CORE_ERROR_DISABLED", "disabled" }, |
|
420 { C_ENUM(GST_CORE_ERROR_NUM_ERRORS), "GST_CORE_ERROR_NUM_ERRORS", "num-errors" }, |
|
421 { 0, NULL, NULL } |
|
422 }; |
|
423 *id = g_enum_register_static ("GstCoreError", values); |
|
424 } |
|
425 #ifdef __SYMBIAN32__ |
|
426 EXPORT_C |
|
427 #endif |
|
428 |
|
429 GType |
|
430 gst_core_error_get_type (void) |
|
431 { |
|
432 static GType id; |
|
433 static GOnce once = G_ONCE_INIT; |
|
434 |
|
435 g_once (&once, (GThreadFunc)register_gst_core_error, &id); |
|
436 return id; |
|
437 } |
|
438 static void |
|
439 register_gst_library_error (GType* id) |
|
440 { |
|
441 static const GEnumValue values[] = { |
|
442 { C_ENUM(GST_LIBRARY_ERROR_FAILED), "GST_LIBRARY_ERROR_FAILED", "failed" }, |
|
443 { C_ENUM(GST_LIBRARY_ERROR_TOO_LAZY), "GST_LIBRARY_ERROR_TOO_LAZY", "too-lazy" }, |
|
444 { C_ENUM(GST_LIBRARY_ERROR_INIT), "GST_LIBRARY_ERROR_INIT", "init" }, |
|
445 { C_ENUM(GST_LIBRARY_ERROR_SHUTDOWN), "GST_LIBRARY_ERROR_SHUTDOWN", "shutdown" }, |
|
446 { C_ENUM(GST_LIBRARY_ERROR_SETTINGS), "GST_LIBRARY_ERROR_SETTINGS", "settings" }, |
|
447 { C_ENUM(GST_LIBRARY_ERROR_ENCODE), "GST_LIBRARY_ERROR_ENCODE", "encode" }, |
|
448 { C_ENUM(GST_LIBRARY_ERROR_NUM_ERRORS), "GST_LIBRARY_ERROR_NUM_ERRORS", "num-errors" }, |
|
449 { 0, NULL, NULL } |
|
450 }; |
|
451 *id = g_enum_register_static ("GstLibraryError", values); |
|
452 } |
|
453 #ifdef __SYMBIAN32__ |
|
454 EXPORT_C |
|
455 #endif |
|
456 |
|
457 GType |
|
458 gst_library_error_get_type (void) |
|
459 { |
|
460 static GType id; |
|
461 static GOnce once = G_ONCE_INIT; |
|
462 |
|
463 g_once (&once, (GThreadFunc)register_gst_library_error, &id); |
|
464 return id; |
|
465 } |
|
466 static void |
|
467 register_gst_resource_error (GType* id) |
|
468 { |
|
469 static const GEnumValue values[] = { |
|
470 { C_ENUM(GST_RESOURCE_ERROR_FAILED), "GST_RESOURCE_ERROR_FAILED", "failed" }, |
|
471 { C_ENUM(GST_RESOURCE_ERROR_TOO_LAZY), "GST_RESOURCE_ERROR_TOO_LAZY", "too-lazy" }, |
|
472 { C_ENUM(GST_RESOURCE_ERROR_NOT_FOUND), "GST_RESOURCE_ERROR_NOT_FOUND", "not-found" }, |
|
473 { C_ENUM(GST_RESOURCE_ERROR_BUSY), "GST_RESOURCE_ERROR_BUSY", "busy" }, |
|
474 { C_ENUM(GST_RESOURCE_ERROR_OPEN_READ), "GST_RESOURCE_ERROR_OPEN_READ", "open-read" }, |
|
475 { C_ENUM(GST_RESOURCE_ERROR_OPEN_WRITE), "GST_RESOURCE_ERROR_OPEN_WRITE", "open-write" }, |
|
476 { C_ENUM(GST_RESOURCE_ERROR_OPEN_READ_WRITE), "GST_RESOURCE_ERROR_OPEN_READ_WRITE", "open-read-write" }, |
|
477 { C_ENUM(GST_RESOURCE_ERROR_CLOSE), "GST_RESOURCE_ERROR_CLOSE", "close" }, |
|
478 { C_ENUM(GST_RESOURCE_ERROR_READ), "GST_RESOURCE_ERROR_READ", "read" }, |
|
479 { C_ENUM(GST_RESOURCE_ERROR_WRITE), "GST_RESOURCE_ERROR_WRITE", "write" }, |
|
480 { C_ENUM(GST_RESOURCE_ERROR_SEEK), "GST_RESOURCE_ERROR_SEEK", "seek" }, |
|
481 { C_ENUM(GST_RESOURCE_ERROR_SYNC), "GST_RESOURCE_ERROR_SYNC", "sync" }, |
|
482 { C_ENUM(GST_RESOURCE_ERROR_SETTINGS), "GST_RESOURCE_ERROR_SETTINGS", "settings" }, |
|
483 { C_ENUM(GST_RESOURCE_ERROR_NO_SPACE_LEFT), "GST_RESOURCE_ERROR_NO_SPACE_LEFT", "no-space-left" }, |
|
484 { C_ENUM(GST_RESOURCE_ERROR_NUM_ERRORS), "GST_RESOURCE_ERROR_NUM_ERRORS", "num-errors" }, |
|
485 { 0, NULL, NULL } |
|
486 }; |
|
487 *id = g_enum_register_static ("GstResourceError", values); |
|
488 } |
|
489 #ifdef __SYMBIAN32__ |
|
490 EXPORT_C |
|
491 #endif |
|
492 |
|
493 GType |
|
494 gst_resource_error_get_type (void) |
|
495 { |
|
496 static GType id; |
|
497 static GOnce once = G_ONCE_INIT; |
|
498 |
|
499 g_once (&once, (GThreadFunc)register_gst_resource_error, &id); |
|
500 return id; |
|
501 } |
|
502 static void |
|
503 register_gst_stream_error (GType* id) |
|
504 { |
|
505 static const GEnumValue values[] = { |
|
506 { C_ENUM(GST_STREAM_ERROR_FAILED), "GST_STREAM_ERROR_FAILED", "failed" }, |
|
507 { C_ENUM(GST_STREAM_ERROR_TOO_LAZY), "GST_STREAM_ERROR_TOO_LAZY", "too-lazy" }, |
|
508 { C_ENUM(GST_STREAM_ERROR_NOT_IMPLEMENTED), "GST_STREAM_ERROR_NOT_IMPLEMENTED", "not-implemented" }, |
|
509 { C_ENUM(GST_STREAM_ERROR_TYPE_NOT_FOUND), "GST_STREAM_ERROR_TYPE_NOT_FOUND", "type-not-found" }, |
|
510 { C_ENUM(GST_STREAM_ERROR_WRONG_TYPE), "GST_STREAM_ERROR_WRONG_TYPE", "wrong-type" }, |
|
511 { C_ENUM(GST_STREAM_ERROR_CODEC_NOT_FOUND), "GST_STREAM_ERROR_CODEC_NOT_FOUND", "codec-not-found" }, |
|
512 { C_ENUM(GST_STREAM_ERROR_DECODE), "GST_STREAM_ERROR_DECODE", "decode" }, |
|
513 { C_ENUM(GST_STREAM_ERROR_ENCODE), "GST_STREAM_ERROR_ENCODE", "encode" }, |
|
514 { C_ENUM(GST_STREAM_ERROR_DEMUX), "GST_STREAM_ERROR_DEMUX", "demux" }, |
|
515 { C_ENUM(GST_STREAM_ERROR_MUX), "GST_STREAM_ERROR_MUX", "mux" }, |
|
516 { C_ENUM(GST_STREAM_ERROR_FORMAT), "GST_STREAM_ERROR_FORMAT", "format" }, |
|
517 { C_ENUM(GST_STREAM_ERROR_NUM_ERRORS), "GST_STREAM_ERROR_NUM_ERRORS", "num-errors" }, |
|
518 { 0, NULL, NULL } |
|
519 }; |
|
520 *id = g_enum_register_static ("GstStreamError", values); |
|
521 } |
|
522 #ifdef __SYMBIAN32__ |
|
523 EXPORT_C |
|
524 #endif |
|
525 |
|
526 GType |
|
527 gst_stream_error_get_type (void) |
|
528 { |
|
529 static GType id; |
|
530 static GOnce once = G_ONCE_INIT; |
|
531 |
|
532 g_once (&once, (GThreadFunc)register_gst_stream_error, &id); |
|
533 return id; |
|
534 } |
|
535 |
|
536 /* enumerations from "gstevent.h" */ |
|
537 static void |
|
538 register_gst_event_type_flags (GType* id) |
|
539 { |
|
540 static const GFlagsValue values[] = { |
|
541 { C_FLAGS(GST_EVENT_TYPE_UPSTREAM), "GST_EVENT_TYPE_UPSTREAM", "upstream" }, |
|
542 { C_FLAGS(GST_EVENT_TYPE_DOWNSTREAM), "GST_EVENT_TYPE_DOWNSTREAM", "downstream" }, |
|
543 { C_FLAGS(GST_EVENT_TYPE_SERIALIZED), "GST_EVENT_TYPE_SERIALIZED", "serialized" }, |
|
544 { 0, NULL, NULL } |
|
545 }; |
|
546 *id = g_flags_register_static ("GstEventTypeFlags", values); |
|
547 } |
|
548 #ifdef __SYMBIAN32__ |
|
549 EXPORT_C |
|
550 #endif |
|
551 |
|
552 GType |
|
553 gst_event_type_flags_get_type (void) |
|
554 { |
|
555 static GType id; |
|
556 static GOnce once = G_ONCE_INIT; |
|
557 |
|
558 g_once (&once, (GThreadFunc)register_gst_event_type_flags, &id); |
|
559 return id; |
|
560 } |
|
561 static void |
|
562 register_gst_event_type (GType* id) |
|
563 { |
|
564 static const GEnumValue values[] = { |
|
565 { C_ENUM(GST_EVENT_UNKNOWN), "GST_EVENT_UNKNOWN", "unknown" }, |
|
566 { C_ENUM(GST_EVENT_FLUSH_START), "GST_EVENT_FLUSH_START", "flush-start" }, |
|
567 { C_ENUM(GST_EVENT_FLUSH_STOP), "GST_EVENT_FLUSH_STOP", "flush-stop" }, |
|
568 { C_ENUM(GST_EVENT_EOS), "GST_EVENT_EOS", "eos" }, |
|
569 { C_ENUM(GST_EVENT_NEWSEGMENT), "GST_EVENT_NEWSEGMENT", "newsegment" }, |
|
570 { C_ENUM(GST_EVENT_TAG), "GST_EVENT_TAG", "tag" }, |
|
571 { C_ENUM(GST_EVENT_BUFFERSIZE), "GST_EVENT_BUFFERSIZE", "buffersize" }, |
|
572 { C_ENUM(GST_EVENT_QOS), "GST_EVENT_QOS", "qos" }, |
|
573 { C_ENUM(GST_EVENT_SEEK), "GST_EVENT_SEEK", "seek" }, |
|
574 { C_ENUM(GST_EVENT_NAVIGATION), "GST_EVENT_NAVIGATION", "navigation" }, |
|
575 { C_ENUM(GST_EVENT_LATENCY), "GST_EVENT_LATENCY", "latency" }, |
|
576 { C_ENUM(GST_EVENT_CUSTOM_UPSTREAM), "GST_EVENT_CUSTOM_UPSTREAM", "custom-upstream" }, |
|
577 { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM), "GST_EVENT_CUSTOM_DOWNSTREAM", "custom-downstream" }, |
|
578 { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM_OOB), "GST_EVENT_CUSTOM_DOWNSTREAM_OOB", "custom-downstream-oob" }, |
|
579 { C_ENUM(GST_EVENT_CUSTOM_BOTH), "GST_EVENT_CUSTOM_BOTH", "custom-both" }, |
|
580 { C_ENUM(GST_EVENT_CUSTOM_BOTH_OOB), "GST_EVENT_CUSTOM_BOTH_OOB", "custom-both-oob" }, |
|
581 { 0, NULL, NULL } |
|
582 }; |
|
583 *id = g_enum_register_static ("GstEventType", values); |
|
584 } |
|
585 #ifdef __SYMBIAN32__ |
|
586 EXPORT_C |
|
587 #endif |
|
588 |
|
589 GType |
|
590 gst_event_type_get_type (void) |
|
591 { |
|
592 static GType id; |
|
593 static GOnce once = G_ONCE_INIT; |
|
594 |
|
595 g_once (&once, (GThreadFunc)register_gst_event_type, &id); |
|
596 return id; |
|
597 } |
|
598 static void |
|
599 register_gst_seek_type (GType* id) |
|
600 { |
|
601 static const GEnumValue values[] = { |
|
602 { C_ENUM(GST_SEEK_TYPE_NONE), "GST_SEEK_TYPE_NONE", "none" }, |
|
603 { C_ENUM(GST_SEEK_TYPE_CUR), "GST_SEEK_TYPE_CUR", "cur" }, |
|
604 { C_ENUM(GST_SEEK_TYPE_SET), "GST_SEEK_TYPE_SET", "set" }, |
|
605 { C_ENUM(GST_SEEK_TYPE_END), "GST_SEEK_TYPE_END", "end" }, |
|
606 { 0, NULL, NULL } |
|
607 }; |
|
608 *id = g_enum_register_static ("GstSeekType", values); |
|
609 } |
|
610 #ifdef __SYMBIAN32__ |
|
611 EXPORT_C |
|
612 #endif |
|
613 |
|
614 GType |
|
615 gst_seek_type_get_type (void) |
|
616 { |
|
617 static GType id; |
|
618 static GOnce once = G_ONCE_INIT; |
|
619 |
|
620 g_once (&once, (GThreadFunc)register_gst_seek_type, &id); |
|
621 return id; |
|
622 } |
|
623 static void |
|
624 register_gst_seek_flags (GType* id) |
|
625 { |
|
626 static const GFlagsValue values[] = { |
|
627 { C_FLAGS(GST_SEEK_FLAG_NONE), "GST_SEEK_FLAG_NONE", "none" }, |
|
628 { C_FLAGS(GST_SEEK_FLAG_FLUSH), "GST_SEEK_FLAG_FLUSH", "flush" }, |
|
629 { C_FLAGS(GST_SEEK_FLAG_ACCURATE), "GST_SEEK_FLAG_ACCURATE", "accurate" }, |
|
630 { C_FLAGS(GST_SEEK_FLAG_KEY_UNIT), "GST_SEEK_FLAG_KEY_UNIT", "key-unit" }, |
|
631 { C_FLAGS(GST_SEEK_FLAG_SEGMENT), "GST_SEEK_FLAG_SEGMENT", "segment" }, |
|
632 { 0, NULL, NULL } |
|
633 }; |
|
634 *id = g_flags_register_static ("GstSeekFlags", values); |
|
635 } |
|
636 #ifdef __SYMBIAN32__ |
|
637 EXPORT_C |
|
638 #endif |
|
639 |
|
640 GType |
|
641 gst_seek_flags_get_type (void) |
|
642 { |
|
643 static GType id; |
|
644 static GOnce once = G_ONCE_INIT; |
|
645 |
|
646 g_once (&once, (GThreadFunc)register_gst_seek_flags, &id); |
|
647 return id; |
|
648 } |
|
649 |
|
650 /* enumerations from "gstformat.h" */ |
|
651 static void |
|
652 register_gst_format (GType* id) |
|
653 { |
|
654 static const GEnumValue values[] = { |
|
655 { C_ENUM(GST_FORMAT_UNDEFINED), "GST_FORMAT_UNDEFINED", "undefined" }, |
|
656 { C_ENUM(GST_FORMAT_DEFAULT), "GST_FORMAT_DEFAULT", "default" }, |
|
657 { C_ENUM(GST_FORMAT_BYTES), "GST_FORMAT_BYTES", "bytes" }, |
|
658 { C_ENUM(GST_FORMAT_TIME), "GST_FORMAT_TIME", "time" }, |
|
659 { C_ENUM(GST_FORMAT_BUFFERS), "GST_FORMAT_BUFFERS", "buffers" }, |
|
660 { C_ENUM(GST_FORMAT_PERCENT), "GST_FORMAT_PERCENT", "percent" }, |
|
661 { 0, NULL, NULL } |
|
662 }; |
|
663 *id = g_enum_register_static ("GstFormat", values); |
|
664 } |
|
665 #ifdef __SYMBIAN32__ |
|
666 EXPORT_C |
|
667 #endif |
|
668 |
|
669 GType |
|
670 gst_format_get_type (void) |
|
671 { |
|
672 static GType id; |
|
673 static GOnce once = G_ONCE_INIT; |
|
674 |
|
675 g_once (&once, (GThreadFunc)register_gst_format, &id); |
|
676 return id; |
|
677 } |
|
678 |
|
679 /* enumerations from "gstindex.h" */ |
|
680 static void |
|
681 register_gst_index_certainty (GType* id) |
|
682 { |
|
683 static const GEnumValue values[] = { |
|
684 { C_ENUM(GST_INDEX_UNKNOWN), "GST_INDEX_UNKNOWN", "unknown" }, |
|
685 { C_ENUM(GST_INDEX_CERTAIN), "GST_INDEX_CERTAIN", "certain" }, |
|
686 { C_ENUM(GST_INDEX_FUZZY), "GST_INDEX_FUZZY", "fuzzy" }, |
|
687 { 0, NULL, NULL } |
|
688 }; |
|
689 *id = g_enum_register_static ("GstIndexCertainty", values); |
|
690 } |
|
691 #ifdef __SYMBIAN32__ |
|
692 EXPORT_C |
|
693 #endif |
|
694 |
|
695 GType |
|
696 gst_index_certainty_get_type (void) |
|
697 { |
|
698 static GType id; |
|
699 static GOnce once = G_ONCE_INIT; |
|
700 |
|
701 g_once (&once, (GThreadFunc)register_gst_index_certainty, &id); |
|
702 return id; |
|
703 } |
|
704 static void |
|
705 register_gst_index_entry_type (GType* id) |
|
706 { |
|
707 static const GEnumValue values[] = { |
|
708 { C_ENUM(GST_INDEX_ENTRY_ID), "GST_INDEX_ENTRY_ID", "id" }, |
|
709 { C_ENUM(GST_INDEX_ENTRY_ASSOCIATION), "GST_INDEX_ENTRY_ASSOCIATION", "association" }, |
|
710 { C_ENUM(GST_INDEX_ENTRY_OBJECT), "GST_INDEX_ENTRY_OBJECT", "object" }, |
|
711 { C_ENUM(GST_INDEX_ENTRY_FORMAT), "GST_INDEX_ENTRY_FORMAT", "format" }, |
|
712 { 0, NULL, NULL } |
|
713 }; |
|
714 *id = g_enum_register_static ("GstIndexEntryType", values); |
|
715 } |
|
716 #ifdef __SYMBIAN32__ |
|
717 EXPORT_C |
|
718 #endif |
|
719 |
|
720 GType |
|
721 gst_index_entry_type_get_type (void) |
|
722 { |
|
723 static GType id; |
|
724 static GOnce once = G_ONCE_INIT; |
|
725 |
|
726 g_once (&once, (GThreadFunc)register_gst_index_entry_type, &id); |
|
727 return id; |
|
728 } |
|
729 static void |
|
730 register_gst_index_lookup_method (GType* id) |
|
731 { |
|
732 static const GEnumValue values[] = { |
|
733 { C_ENUM(GST_INDEX_LOOKUP_EXACT), "GST_INDEX_LOOKUP_EXACT", "exact" }, |
|
734 { C_ENUM(GST_INDEX_LOOKUP_BEFORE), "GST_INDEX_LOOKUP_BEFORE", "before" }, |
|
735 { C_ENUM(GST_INDEX_LOOKUP_AFTER), "GST_INDEX_LOOKUP_AFTER", "after" }, |
|
736 { 0, NULL, NULL } |
|
737 }; |
|
738 *id = g_enum_register_static ("GstIndexLookupMethod", values); |
|
739 } |
|
740 #ifdef __SYMBIAN32__ |
|
741 EXPORT_C |
|
742 #endif |
|
743 |
|
744 GType |
|
745 gst_index_lookup_method_get_type (void) |
|
746 { |
|
747 static GType id; |
|
748 static GOnce once = G_ONCE_INIT; |
|
749 |
|
750 g_once (&once, (GThreadFunc)register_gst_index_lookup_method, &id); |
|
751 return id; |
|
752 } |
|
753 static void |
|
754 register_gst_assoc_flags (GType* id) |
|
755 { |
|
756 static const GFlagsValue values[] = { |
|
757 { C_FLAGS(GST_ASSOCIATION_FLAG_NONE), "GST_ASSOCIATION_FLAG_NONE", "none" }, |
|
758 { C_FLAGS(GST_ASSOCIATION_FLAG_KEY_UNIT), "GST_ASSOCIATION_FLAG_KEY_UNIT", "key-unit" }, |
|
759 { C_FLAGS(GST_ASSOCIATION_FLAG_DELTA_UNIT), "GST_ASSOCIATION_FLAG_DELTA_UNIT", "delta-unit" }, |
|
760 { C_FLAGS(GST_ASSOCIATION_FLAG_LAST), "GST_ASSOCIATION_FLAG_LAST", "last" }, |
|
761 { 0, NULL, NULL } |
|
762 }; |
|
763 *id = g_flags_register_static ("GstAssocFlags", values); |
|
764 } |
|
765 #ifdef __SYMBIAN32__ |
|
766 EXPORT_C |
|
767 #endif |
|
768 |
|
769 GType |
|
770 gst_assoc_flags_get_type (void) |
|
771 { |
|
772 static GType id; |
|
773 static GOnce once = G_ONCE_INIT; |
|
774 |
|
775 g_once (&once, (GThreadFunc)register_gst_assoc_flags, &id); |
|
776 return id; |
|
777 } |
|
778 static void |
|
779 register_gst_index_resolver_method (GType* id) |
|
780 { |
|
781 static const GEnumValue values[] = { |
|
782 { C_ENUM(GST_INDEX_RESOLVER_CUSTOM), "GST_INDEX_RESOLVER_CUSTOM", "custom" }, |
|
783 { C_ENUM(GST_INDEX_RESOLVER_GTYPE), "GST_INDEX_RESOLVER_GTYPE", "gtype" }, |
|
784 { C_ENUM(GST_INDEX_RESOLVER_PATH), "GST_INDEX_RESOLVER_PATH", "path" }, |
|
785 { 0, NULL, NULL } |
|
786 }; |
|
787 *id = g_enum_register_static ("GstIndexResolverMethod", values); |
|
788 } |
|
789 #ifdef __SYMBIAN32__ |
|
790 EXPORT_C |
|
791 #endif |
|
792 |
|
793 GType |
|
794 gst_index_resolver_method_get_type (void) |
|
795 { |
|
796 static GType id; |
|
797 static GOnce once = G_ONCE_INIT; |
|
798 |
|
799 g_once (&once, (GThreadFunc)register_gst_index_resolver_method, &id); |
|
800 return id; |
|
801 } |
|
802 static void |
|
803 register_gst_index_flags (GType* id) |
|
804 { |
|
805 static const GFlagsValue values[] = { |
|
806 { C_FLAGS(GST_INDEX_WRITABLE), "GST_INDEX_WRITABLE", "writable" }, |
|
807 { C_FLAGS(GST_INDEX_READABLE), "GST_INDEX_READABLE", "readable" }, |
|
808 { C_FLAGS(GST_INDEX_FLAG_LAST), "GST_INDEX_FLAG_LAST", "flag-last" }, |
|
809 { 0, NULL, NULL } |
|
810 }; |
|
811 *id = g_flags_register_static ("GstIndexFlags", values); |
|
812 } |
|
813 #ifdef __SYMBIAN32__ |
|
814 EXPORT_C |
|
815 #endif |
|
816 |
|
817 GType |
|
818 gst_index_flags_get_type (void) |
|
819 { |
|
820 static GType id; |
|
821 static GOnce once = G_ONCE_INIT; |
|
822 |
|
823 g_once (&once, (GThreadFunc)register_gst_index_flags, &id); |
|
824 return id; |
|
825 } |
|
826 |
|
827 /* enumerations from "gstinfo.h" */ |
|
828 static void |
|
829 register_gst_debug_level (GType* id) |
|
830 { |
|
831 static const GEnumValue values[] = { |
|
832 { C_ENUM(GST_LEVEL_NONE), "GST_LEVEL_NONE", "none" }, |
|
833 { C_ENUM(GST_LEVEL_ERROR), "GST_LEVEL_ERROR", "error" }, |
|
834 { C_ENUM(GST_LEVEL_WARNING), "GST_LEVEL_WARNING", "warning" }, |
|
835 { C_ENUM(GST_LEVEL_INFO), "GST_LEVEL_INFO", "info" }, |
|
836 { C_ENUM(GST_LEVEL_DEBUG), "GST_LEVEL_DEBUG", "debug" }, |
|
837 { C_ENUM(GST_LEVEL_LOG), "GST_LEVEL_LOG", "log" }, |
|
838 { C_ENUM(GST_LEVEL_COUNT), "GST_LEVEL_COUNT", "count" }, |
|
839 { 0, NULL, NULL } |
|
840 }; |
|
841 *id = g_enum_register_static ("GstDebugLevel", values); |
|
842 } |
|
843 #ifdef __SYMBIAN32__ |
|
844 EXPORT_C |
|
845 #endif |
|
846 |
|
847 GType |
|
848 gst_debug_level_get_type (void) |
|
849 { |
|
850 static GType id; |
|
851 static GOnce once = G_ONCE_INIT; |
|
852 |
|
853 g_once (&once, (GThreadFunc)register_gst_debug_level, &id); |
|
854 return id; |
|
855 } |
|
856 static void |
|
857 register_gst_debug_color_flags (GType* id) |
|
858 { |
|
859 static const GEnumValue values[] = { |
|
860 { C_ENUM(GST_DEBUG_FG_BLACK), "GST_DEBUG_FG_BLACK", "fg-black" }, |
|
861 { C_ENUM(GST_DEBUG_FG_RED), "GST_DEBUG_FG_RED", "fg-red" }, |
|
862 { C_ENUM(GST_DEBUG_FG_GREEN), "GST_DEBUG_FG_GREEN", "fg-green" }, |
|
863 { C_ENUM(GST_DEBUG_FG_YELLOW), "GST_DEBUG_FG_YELLOW", "fg-yellow" }, |
|
864 { C_ENUM(GST_DEBUG_FG_BLUE), "GST_DEBUG_FG_BLUE", "fg-blue" }, |
|
865 { C_ENUM(GST_DEBUG_FG_MAGENTA), "GST_DEBUG_FG_MAGENTA", "fg-magenta" }, |
|
866 { C_ENUM(GST_DEBUG_FG_CYAN), "GST_DEBUG_FG_CYAN", "fg-cyan" }, |
|
867 { C_ENUM(GST_DEBUG_FG_WHITE), "GST_DEBUG_FG_WHITE", "fg-white" }, |
|
868 { C_ENUM(GST_DEBUG_BG_BLACK), "GST_DEBUG_BG_BLACK", "bg-black" }, |
|
869 { C_ENUM(GST_DEBUG_BG_RED), "GST_DEBUG_BG_RED", "bg-red" }, |
|
870 { C_ENUM(GST_DEBUG_BG_GREEN), "GST_DEBUG_BG_GREEN", "bg-green" }, |
|
871 { C_ENUM(GST_DEBUG_BG_YELLOW), "GST_DEBUG_BG_YELLOW", "bg-yellow" }, |
|
872 { C_ENUM(GST_DEBUG_BG_BLUE), "GST_DEBUG_BG_BLUE", "bg-blue" }, |
|
873 { C_ENUM(GST_DEBUG_BG_MAGENTA), "GST_DEBUG_BG_MAGENTA", "bg-magenta" }, |
|
874 { C_ENUM(GST_DEBUG_BG_CYAN), "GST_DEBUG_BG_CYAN", "bg-cyan" }, |
|
875 { C_ENUM(GST_DEBUG_BG_WHITE), "GST_DEBUG_BG_WHITE", "bg-white" }, |
|
876 { C_ENUM(GST_DEBUG_BOLD), "GST_DEBUG_BOLD", "bold" }, |
|
877 { C_ENUM(GST_DEBUG_UNDERLINE), "GST_DEBUG_UNDERLINE", "underline" }, |
|
878 { 0, NULL, NULL } |
|
879 }; |
|
880 *id = g_enum_register_static ("GstDebugColorFlags", values); |
|
881 } |
|
882 #ifdef __SYMBIAN32__ |
|
883 EXPORT_C |
|
884 #endif |
|
885 |
|
886 GType |
|
887 gst_debug_color_flags_get_type (void) |
|
888 { |
|
889 static GType id; |
|
890 static GOnce once = G_ONCE_INIT; |
|
891 |
|
892 g_once (&once, (GThreadFunc)register_gst_debug_color_flags, &id); |
|
893 return id; |
|
894 } |
|
895 |
|
896 /* enumerations from "gstiterator.h" */ |
|
897 static void |
|
898 register_gst_iterator_result (GType* id) |
|
899 { |
|
900 static const GEnumValue values[] = { |
|
901 { C_ENUM(GST_ITERATOR_DONE), "GST_ITERATOR_DONE", "done" }, |
|
902 { C_ENUM(GST_ITERATOR_OK), "GST_ITERATOR_OK", "ok" }, |
|
903 { C_ENUM(GST_ITERATOR_RESYNC), "GST_ITERATOR_RESYNC", "resync" }, |
|
904 { C_ENUM(GST_ITERATOR_ERROR), "GST_ITERATOR_ERROR", "error" }, |
|
905 { 0, NULL, NULL } |
|
906 }; |
|
907 *id = g_enum_register_static ("GstIteratorResult", values); |
|
908 } |
|
909 #ifdef __SYMBIAN32__ |
|
910 EXPORT_C |
|
911 #endif |
|
912 |
|
913 GType |
|
914 gst_iterator_result_get_type (void) |
|
915 { |
|
916 static GType id; |
|
917 static GOnce once = G_ONCE_INIT; |
|
918 |
|
919 g_once (&once, (GThreadFunc)register_gst_iterator_result, &id); |
|
920 return id; |
|
921 } |
|
922 static void |
|
923 register_gst_iterator_item (GType* id) |
|
924 { |
|
925 static const GEnumValue values[] = { |
|
926 { C_ENUM(GST_ITERATOR_ITEM_SKIP), "GST_ITERATOR_ITEM_SKIP", "skip" }, |
|
927 { C_ENUM(GST_ITERATOR_ITEM_PASS), "GST_ITERATOR_ITEM_PASS", "pass" }, |
|
928 { C_ENUM(GST_ITERATOR_ITEM_END), "GST_ITERATOR_ITEM_END", "end" }, |
|
929 { 0, NULL, NULL } |
|
930 }; |
|
931 *id = g_enum_register_static ("GstIteratorItem", values); |
|
932 } |
|
933 #ifdef __SYMBIAN32__ |
|
934 EXPORT_C |
|
935 #endif |
|
936 |
|
937 GType |
|
938 gst_iterator_item_get_type (void) |
|
939 { |
|
940 static GType id; |
|
941 static GOnce once = G_ONCE_INIT; |
|
942 |
|
943 g_once (&once, (GThreadFunc)register_gst_iterator_item, &id); |
|
944 return id; |
|
945 } |
|
946 |
|
947 /* enumerations from "gstmessage.h" */ |
|
948 static void |
|
949 register_gst_message_type (GType* id) |
|
950 { |
|
951 static const GFlagsValue values[] = { |
|
952 { C_FLAGS(GST_MESSAGE_UNKNOWN), "GST_MESSAGE_UNKNOWN", "unknown" }, |
|
953 { C_FLAGS(GST_MESSAGE_EOS), "GST_MESSAGE_EOS", "eos" }, |
|
954 { C_FLAGS(GST_MESSAGE_ERROR), "GST_MESSAGE_ERROR", "error" }, |
|
955 { C_FLAGS(GST_MESSAGE_WARNING), "GST_MESSAGE_WARNING", "warning" }, |
|
956 { C_FLAGS(GST_MESSAGE_INFO), "GST_MESSAGE_INFO", "info" }, |
|
957 { C_FLAGS(GST_MESSAGE_TAG), "GST_MESSAGE_TAG", "tag" }, |
|
958 { C_FLAGS(GST_MESSAGE_BUFFERING), "GST_MESSAGE_BUFFERING", "buffering" }, |
|
959 { C_FLAGS(GST_MESSAGE_STATE_CHANGED), "GST_MESSAGE_STATE_CHANGED", "state-changed" }, |
|
960 { C_FLAGS(GST_MESSAGE_STATE_DIRTY), "GST_MESSAGE_STATE_DIRTY", "state-dirty" }, |
|
961 { C_FLAGS(GST_MESSAGE_STEP_DONE), "GST_MESSAGE_STEP_DONE", "step-done" }, |
|
962 { C_FLAGS(GST_MESSAGE_CLOCK_PROVIDE), "GST_MESSAGE_CLOCK_PROVIDE", "clock-provide" }, |
|
963 { C_FLAGS(GST_MESSAGE_CLOCK_LOST), "GST_MESSAGE_CLOCK_LOST", "clock-lost" }, |
|
964 { C_FLAGS(GST_MESSAGE_NEW_CLOCK), "GST_MESSAGE_NEW_CLOCK", "new-clock" }, |
|
965 { C_FLAGS(GST_MESSAGE_STRUCTURE_CHANGE), "GST_MESSAGE_STRUCTURE_CHANGE", "structure-change" }, |
|
966 { C_FLAGS(GST_MESSAGE_STREAM_STATUS), "GST_MESSAGE_STREAM_STATUS", "stream-status" }, |
|
967 { C_FLAGS(GST_MESSAGE_APPLICATION), "GST_MESSAGE_APPLICATION", "application" }, |
|
968 { C_FLAGS(GST_MESSAGE_ELEMENT), "GST_MESSAGE_ELEMENT", "element" }, |
|
969 { C_FLAGS(GST_MESSAGE_SEGMENT_START), "GST_MESSAGE_SEGMENT_START", "segment-start" }, |
|
970 { C_FLAGS(GST_MESSAGE_SEGMENT_DONE), "GST_MESSAGE_SEGMENT_DONE", "segment-done" }, |
|
971 { C_FLAGS(GST_MESSAGE_DURATION), "GST_MESSAGE_DURATION", "duration" }, |
|
972 { C_FLAGS(GST_MESSAGE_LATENCY), "GST_MESSAGE_LATENCY", "latency" }, |
|
973 { C_FLAGS(GST_MESSAGE_ASYNC_START), "GST_MESSAGE_ASYNC_START", "async-start" }, |
|
974 { C_FLAGS(GST_MESSAGE_ASYNC_DONE), "GST_MESSAGE_ASYNC_DONE", "async-done" }, |
|
975 { C_FLAGS(GST_MESSAGE_ANY), "GST_MESSAGE_ANY", "any" }, |
|
976 { 0, NULL, NULL } |
|
977 }; |
|
978 *id = g_flags_register_static ("GstMessageType", values); |
|
979 } |
|
980 #ifdef __SYMBIAN32__ |
|
981 EXPORT_C |
|
982 #endif |
|
983 |
|
984 GType |
|
985 gst_message_type_get_type (void) |
|
986 { |
|
987 static GType id; |
|
988 static GOnce once = G_ONCE_INIT; |
|
989 |
|
990 g_once (&once, (GThreadFunc)register_gst_message_type, &id); |
|
991 return id; |
|
992 } |
|
993 |
|
994 /* enumerations from "gstminiobject.h" */ |
|
995 static void |
|
996 register_gst_mini_object_flags (GType* id) |
|
997 { |
|
998 static const GFlagsValue values[] = { |
|
999 { C_FLAGS(GST_MINI_OBJECT_FLAG_READONLY), "GST_MINI_OBJECT_FLAG_READONLY", "readonly" }, |
|
1000 { C_FLAGS(GST_MINI_OBJECT_FLAG_LAST), "GST_MINI_OBJECT_FLAG_LAST", "last" }, |
|
1001 { 0, NULL, NULL } |
|
1002 }; |
|
1003 *id = g_flags_register_static ("GstMiniObjectFlags", values); |
|
1004 } |
|
1005 #ifdef __SYMBIAN32__ |
|
1006 EXPORT_C |
|
1007 #endif |
|
1008 |
|
1009 GType |
|
1010 gst_mini_object_flags_get_type (void) |
|
1011 { |
|
1012 static GType id; |
|
1013 static GOnce once = G_ONCE_INIT; |
|
1014 |
|
1015 g_once (&once, (GThreadFunc)register_gst_mini_object_flags, &id); |
|
1016 return id; |
|
1017 } |
|
1018 |
|
1019 /* enumerations from "gstpad.h" */ |
|
1020 static void |
|
1021 register_gst_pad_link_return (GType* id) |
|
1022 { |
|
1023 static const GEnumValue values[] = { |
|
1024 { C_ENUM(GST_PAD_LINK_OK), "GST_PAD_LINK_OK", "ok" }, |
|
1025 { C_ENUM(GST_PAD_LINK_WRONG_HIERARCHY), "GST_PAD_LINK_WRONG_HIERARCHY", "wrong-hierarchy" }, |
|
1026 { C_ENUM(GST_PAD_LINK_WAS_LINKED), "GST_PAD_LINK_WAS_LINKED", "was-linked" }, |
|
1027 { C_ENUM(GST_PAD_LINK_WRONG_DIRECTION), "GST_PAD_LINK_WRONG_DIRECTION", "wrong-direction" }, |
|
1028 { C_ENUM(GST_PAD_LINK_NOFORMAT), "GST_PAD_LINK_NOFORMAT", "noformat" }, |
|
1029 { C_ENUM(GST_PAD_LINK_NOSCHED), "GST_PAD_LINK_NOSCHED", "nosched" }, |
|
1030 { C_ENUM(GST_PAD_LINK_REFUSED), "GST_PAD_LINK_REFUSED", "refused" }, |
|
1031 { 0, NULL, NULL } |
|
1032 }; |
|
1033 *id = g_enum_register_static ("GstPadLinkReturn", values); |
|
1034 } |
|
1035 #ifdef __SYMBIAN32__ |
|
1036 EXPORT_C |
|
1037 #endif |
|
1038 |
|
1039 GType |
|
1040 gst_pad_link_return_get_type (void) |
|
1041 { |
|
1042 static GType id; |
|
1043 static GOnce once = G_ONCE_INIT; |
|
1044 |
|
1045 g_once (&once, (GThreadFunc)register_gst_pad_link_return, &id); |
|
1046 return id; |
|
1047 } |
|
1048 static void |
|
1049 register_gst_flow_return (GType* id) |
|
1050 { |
|
1051 static const GEnumValue values[] = { |
|
1052 { C_ENUM(GST_FLOW_CUSTOM_SUCCESS), "GST_FLOW_CUSTOM_SUCCESS", "custom-success" }, |
|
1053 { C_ENUM(GST_FLOW_RESEND), "GST_FLOW_RESEND", "resend" }, |
|
1054 { C_ENUM(GST_FLOW_OK), "GST_FLOW_OK", "ok" }, |
|
1055 { C_ENUM(GST_FLOW_NOT_LINKED), "GST_FLOW_NOT_LINKED", "not-linked" }, |
|
1056 { C_ENUM(GST_FLOW_WRONG_STATE), "GST_FLOW_WRONG_STATE", "wrong-state" }, |
|
1057 { C_ENUM(GST_FLOW_UNEXPECTED), "GST_FLOW_UNEXPECTED", "unexpected" }, |
|
1058 { C_ENUM(GST_FLOW_NOT_NEGOTIATED), "GST_FLOW_NOT_NEGOTIATED", "not-negotiated" }, |
|
1059 { C_ENUM(GST_FLOW_ERROR), "GST_FLOW_ERROR", "error" }, |
|
1060 { C_ENUM(GST_FLOW_NOT_SUPPORTED), "GST_FLOW_NOT_SUPPORTED", "not-supported" }, |
|
1061 { C_ENUM(GST_FLOW_CUSTOM_ERROR), "GST_FLOW_CUSTOM_ERROR", "custom-error" }, |
|
1062 { 0, NULL, NULL } |
|
1063 }; |
|
1064 *id = g_enum_register_static ("GstFlowReturn", values); |
|
1065 } |
|
1066 #ifdef __SYMBIAN32__ |
|
1067 EXPORT_C |
|
1068 #endif |
|
1069 |
|
1070 GType |
|
1071 gst_flow_return_get_type (void) |
|
1072 { |
|
1073 static GType id; |
|
1074 static GOnce once = G_ONCE_INIT; |
|
1075 |
|
1076 g_once (&once, (GThreadFunc)register_gst_flow_return, &id); |
|
1077 return id; |
|
1078 } |
|
1079 static void |
|
1080 register_gst_activate_mode (GType* id) |
|
1081 { |
|
1082 static const GEnumValue values[] = { |
|
1083 { C_ENUM(GST_ACTIVATE_NONE), "GST_ACTIVATE_NONE", "none" }, |
|
1084 { C_ENUM(GST_ACTIVATE_PUSH), "GST_ACTIVATE_PUSH", "push" }, |
|
1085 { C_ENUM(GST_ACTIVATE_PULL), "GST_ACTIVATE_PULL", "pull" }, |
|
1086 { 0, NULL, NULL } |
|
1087 }; |
|
1088 *id = g_enum_register_static ("GstActivateMode", values); |
|
1089 } |
|
1090 #ifdef __SYMBIAN32__ |
|
1091 EXPORT_C |
|
1092 #endif |
|
1093 |
|
1094 GType |
|
1095 gst_activate_mode_get_type (void) |
|
1096 { |
|
1097 static GType id; |
|
1098 static GOnce once = G_ONCE_INIT; |
|
1099 |
|
1100 g_once (&once, (GThreadFunc)register_gst_activate_mode, &id); |
|
1101 return id; |
|
1102 } |
|
1103 static void |
|
1104 register_gst_pad_direction (GType* id) |
|
1105 { |
|
1106 static const GEnumValue values[] = { |
|
1107 { C_ENUM(GST_PAD_UNKNOWN), "GST_PAD_UNKNOWN", "unknown" }, |
|
1108 { C_ENUM(GST_PAD_SRC), "GST_PAD_SRC", "src" }, |
|
1109 { C_ENUM(GST_PAD_SINK), "GST_PAD_SINK", "sink" }, |
|
1110 { 0, NULL, NULL } |
|
1111 }; |
|
1112 *id = g_enum_register_static ("GstPadDirection", values); |
|
1113 } |
|
1114 #ifdef __SYMBIAN32__ |
|
1115 EXPORT_C |
|
1116 #endif |
|
1117 |
|
1118 GType |
|
1119 gst_pad_direction_get_type (void) |
|
1120 { |
|
1121 static GType id; |
|
1122 static GOnce once = G_ONCE_INIT; |
|
1123 |
|
1124 g_once (&once, (GThreadFunc)register_gst_pad_direction, &id); |
|
1125 return id; |
|
1126 } |
|
1127 static void |
|
1128 register_gst_pad_flags (GType* id) |
|
1129 { |
|
1130 static const GFlagsValue values[] = { |
|
1131 { C_FLAGS(GST_PAD_BLOCKED), "GST_PAD_BLOCKED", "blocked" }, |
|
1132 { C_FLAGS(GST_PAD_FLUSHING), "GST_PAD_FLUSHING", "flushing" }, |
|
1133 { C_FLAGS(GST_PAD_IN_GETCAPS), "GST_PAD_IN_GETCAPS", "in-getcaps" }, |
|
1134 { C_FLAGS(GST_PAD_IN_SETCAPS), "GST_PAD_IN_SETCAPS", "in-setcaps" }, |
|
1135 { C_FLAGS(GST_PAD_BLOCKING), "GST_PAD_BLOCKING", "blocking" }, |
|
1136 { C_FLAGS(GST_PAD_FLAG_LAST), "GST_PAD_FLAG_LAST", "flag-last" }, |
|
1137 { 0, NULL, NULL } |
|
1138 }; |
|
1139 *id = g_flags_register_static ("GstPadFlags", values); |
|
1140 } |
|
1141 #ifdef __SYMBIAN32__ |
|
1142 EXPORT_C |
|
1143 #endif |
|
1144 |
|
1145 GType |
|
1146 gst_pad_flags_get_type (void) |
|
1147 { |
|
1148 static GType id; |
|
1149 static GOnce once = G_ONCE_INIT; |
|
1150 |
|
1151 g_once (&once, (GThreadFunc)register_gst_pad_flags, &id); |
|
1152 return id; |
|
1153 } |
|
1154 |
|
1155 /* enumerations from "gstpadtemplate.h" */ |
|
1156 static void |
|
1157 register_gst_pad_presence (GType* id) |
|
1158 { |
|
1159 static const GEnumValue values[] = { |
|
1160 { C_ENUM(GST_PAD_ALWAYS), "GST_PAD_ALWAYS", "always" }, |
|
1161 { C_ENUM(GST_PAD_SOMETIMES), "GST_PAD_SOMETIMES", "sometimes" }, |
|
1162 { C_ENUM(GST_PAD_REQUEST), "GST_PAD_REQUEST", "request" }, |
|
1163 { 0, NULL, NULL } |
|
1164 }; |
|
1165 *id = g_enum_register_static ("GstPadPresence", values); |
|
1166 } |
|
1167 #ifdef __SYMBIAN32__ |
|
1168 EXPORT_C |
|
1169 #endif |
|
1170 |
|
1171 GType |
|
1172 gst_pad_presence_get_type (void) |
|
1173 { |
|
1174 static GType id; |
|
1175 static GOnce once = G_ONCE_INIT; |
|
1176 |
|
1177 g_once (&once, (GThreadFunc)register_gst_pad_presence, &id); |
|
1178 return id; |
|
1179 } |
|
1180 static void |
|
1181 register_gst_pad_template_flags (GType* id) |
|
1182 { |
|
1183 static const GFlagsValue values[] = { |
|
1184 { C_FLAGS(GST_PAD_TEMPLATE_FIXED), "GST_PAD_TEMPLATE_FIXED", "fixed" }, |
|
1185 { C_FLAGS(GST_PAD_TEMPLATE_FLAG_LAST), "GST_PAD_TEMPLATE_FLAG_LAST", "flag-last" }, |
|
1186 { 0, NULL, NULL } |
|
1187 }; |
|
1188 *id = g_flags_register_static ("GstPadTemplateFlags", values); |
|
1189 } |
|
1190 #ifdef __SYMBIAN32__ |
|
1191 EXPORT_C |
|
1192 #endif |
|
1193 |
|
1194 GType |
|
1195 gst_pad_template_flags_get_type (void) |
|
1196 { |
|
1197 static GType id; |
|
1198 static GOnce once = G_ONCE_INIT; |
|
1199 |
|
1200 g_once (&once, (GThreadFunc)register_gst_pad_template_flags, &id); |
|
1201 return id; |
|
1202 } |
|
1203 |
|
1204 /* enumerations from "gstpipeline.h" */ |
|
1205 static void |
|
1206 register_gst_pipeline_flags (GType* id) |
|
1207 { |
|
1208 static const GFlagsValue values[] = { |
|
1209 { C_FLAGS(GST_PIPELINE_FLAG_FIXED_CLOCK), "GST_PIPELINE_FLAG_FIXED_CLOCK", "fixed-clock" }, |
|
1210 { C_FLAGS(GST_PIPELINE_FLAG_LAST), "GST_PIPELINE_FLAG_LAST", "last" }, |
|
1211 { 0, NULL, NULL } |
|
1212 }; |
|
1213 *id = g_flags_register_static ("GstPipelineFlags", values); |
|
1214 } |
|
1215 #ifdef __SYMBIAN32__ |
|
1216 EXPORT_C |
|
1217 #endif |
|
1218 |
|
1219 GType |
|
1220 gst_pipeline_flags_get_type (void) |
|
1221 { |
|
1222 static GType id; |
|
1223 static GOnce once = G_ONCE_INIT; |
|
1224 |
|
1225 g_once (&once, (GThreadFunc)register_gst_pipeline_flags, &id); |
|
1226 return id; |
|
1227 } |
|
1228 |
|
1229 /* enumerations from "gstplugin.h" */ |
|
1230 static void |
|
1231 register_gst_plugin_error (GType* id) |
|
1232 { |
|
1233 static const GEnumValue values[] = { |
|
1234 { C_ENUM(GST_PLUGIN_ERROR_MODULE), "GST_PLUGIN_ERROR_MODULE", "module" }, |
|
1235 { C_ENUM(GST_PLUGIN_ERROR_DEPENDENCIES), "GST_PLUGIN_ERROR_DEPENDENCIES", "dependencies" }, |
|
1236 { C_ENUM(GST_PLUGIN_ERROR_NAME_MISMATCH), "GST_PLUGIN_ERROR_NAME_MISMATCH", "name-mismatch" }, |
|
1237 { 0, NULL, NULL } |
|
1238 }; |
|
1239 *id = g_enum_register_static ("GstPluginError", values); |
|
1240 } |
|
1241 #ifdef __SYMBIAN32__ |
|
1242 EXPORT_C |
|
1243 #endif |
|
1244 |
|
1245 GType |
|
1246 gst_plugin_error_get_type (void) |
|
1247 { |
|
1248 static GType id; |
|
1249 static GOnce once = G_ONCE_INIT; |
|
1250 |
|
1251 g_once (&once, (GThreadFunc)register_gst_plugin_error, &id); |
|
1252 return id; |
|
1253 } |
|
1254 static void |
|
1255 register_gst_plugin_flags (GType* id) |
|
1256 { |
|
1257 static const GFlagsValue values[] = { |
|
1258 { C_FLAGS(GST_PLUGIN_FLAG_CACHED), "GST_PLUGIN_FLAG_CACHED", "cached" }, |
|
1259 { 0, NULL, NULL } |
|
1260 }; |
|
1261 *id = g_flags_register_static ("GstPluginFlags", values); |
|
1262 } |
|
1263 #ifdef __SYMBIAN32__ |
|
1264 EXPORT_C |
|
1265 #endif |
|
1266 |
|
1267 GType |
|
1268 gst_plugin_flags_get_type (void) |
|
1269 { |
|
1270 static GType id; |
|
1271 static GOnce once = G_ONCE_INIT; |
|
1272 |
|
1273 g_once (&once, (GThreadFunc)register_gst_plugin_flags, &id); |
|
1274 return id; |
|
1275 } |
|
1276 |
|
1277 /* enumerations from "gstpluginfeature.h" */ |
|
1278 static void |
|
1279 register_gst_rank (GType* id) |
|
1280 { |
|
1281 static const GEnumValue values[] = { |
|
1282 { C_ENUM(GST_RANK_NONE), "GST_RANK_NONE", "none" }, |
|
1283 { C_ENUM(GST_RANK_MARGINAL), "GST_RANK_MARGINAL", "marginal" }, |
|
1284 { C_ENUM(GST_RANK_SECONDARY), "GST_RANK_SECONDARY", "secondary" }, |
|
1285 { C_ENUM(GST_RANK_PRIMARY), "GST_RANK_PRIMARY", "primary" }, |
|
1286 { 0, NULL, NULL } |
|
1287 }; |
|
1288 *id = g_enum_register_static ("GstRank", values); |
|
1289 } |
|
1290 #ifdef __SYMBIAN32__ |
|
1291 EXPORT_C |
|
1292 #endif |
|
1293 |
|
1294 GType |
|
1295 gst_rank_get_type (void) |
|
1296 { |
|
1297 static GType id; |
|
1298 static GOnce once = G_ONCE_INIT; |
|
1299 |
|
1300 g_once (&once, (GThreadFunc)register_gst_rank, &id); |
|
1301 return id; |
|
1302 } |
|
1303 |
|
1304 /* enumerations from "gstquery.h" */ |
|
1305 static void |
|
1306 register_gst_query_type (GType* id) |
|
1307 { |
|
1308 static const GEnumValue values[] = { |
|
1309 { C_ENUM(GST_QUERY_NONE), "GST_QUERY_NONE", "none" }, |
|
1310 { C_ENUM(GST_QUERY_POSITION), "GST_QUERY_POSITION", "position" }, |
|
1311 { C_ENUM(GST_QUERY_DURATION), "GST_QUERY_DURATION", "duration" }, |
|
1312 { C_ENUM(GST_QUERY_LATENCY), "GST_QUERY_LATENCY", "latency" }, |
|
1313 { C_ENUM(GST_QUERY_JITTER), "GST_QUERY_JITTER", "jitter" }, |
|
1314 { C_ENUM(GST_QUERY_RATE), "GST_QUERY_RATE", "rate" }, |
|
1315 { C_ENUM(GST_QUERY_SEEKING), "GST_QUERY_SEEKING", "seeking" }, |
|
1316 { C_ENUM(GST_QUERY_SEGMENT), "GST_QUERY_SEGMENT", "segment" }, |
|
1317 { C_ENUM(GST_QUERY_CONVERT), "GST_QUERY_CONVERT", "convert" }, |
|
1318 { C_ENUM(GST_QUERY_FORMATS), "GST_QUERY_FORMATS", "formats" }, |
|
1319 { 0, NULL, NULL } |
|
1320 }; |
|
1321 *id = g_enum_register_static ("GstQueryType", values); |
|
1322 } |
|
1323 #ifdef __SYMBIAN32__ |
|
1324 EXPORT_C |
|
1325 #endif |
|
1326 |
|
1327 GType |
|
1328 gst_query_type_get_type (void) |
|
1329 { |
|
1330 static GType id; |
|
1331 static GOnce once = G_ONCE_INIT; |
|
1332 |
|
1333 g_once (&once, (GThreadFunc)register_gst_query_type, &id); |
|
1334 return id; |
|
1335 } |
|
1336 |
|
1337 /* enumerations from "gsttaglist.h" */ |
|
1338 static void |
|
1339 register_gst_tag_merge_mode (GType* id) |
|
1340 { |
|
1341 static const GEnumValue values[] = { |
|
1342 { C_ENUM(GST_TAG_MERGE_UNDEFINED), "GST_TAG_MERGE_UNDEFINED", "undefined" }, |
|
1343 { C_ENUM(GST_TAG_MERGE_REPLACE_ALL), "GST_TAG_MERGE_REPLACE_ALL", "replace-all" }, |
|
1344 { C_ENUM(GST_TAG_MERGE_REPLACE), "GST_TAG_MERGE_REPLACE", "replace" }, |
|
1345 { C_ENUM(GST_TAG_MERGE_APPEND), "GST_TAG_MERGE_APPEND", "append" }, |
|
1346 { C_ENUM(GST_TAG_MERGE_PREPEND), "GST_TAG_MERGE_PREPEND", "prepend" }, |
|
1347 { C_ENUM(GST_TAG_MERGE_KEEP), "GST_TAG_MERGE_KEEP", "keep" }, |
|
1348 { C_ENUM(GST_TAG_MERGE_KEEP_ALL), "GST_TAG_MERGE_KEEP_ALL", "keep-all" }, |
|
1349 { C_ENUM(GST_TAG_MERGE_COUNT), "GST_TAG_MERGE_COUNT", "count" }, |
|
1350 { 0, NULL, NULL } |
|
1351 }; |
|
1352 *id = g_enum_register_static ("GstTagMergeMode", values); |
|
1353 } |
|
1354 #ifdef __SYMBIAN32__ |
|
1355 EXPORT_C |
|
1356 #endif |
|
1357 |
|
1358 GType |
|
1359 gst_tag_merge_mode_get_type (void) |
|
1360 { |
|
1361 static GType id; |
|
1362 static GOnce once = G_ONCE_INIT; |
|
1363 |
|
1364 g_once (&once, (GThreadFunc)register_gst_tag_merge_mode, &id); |
|
1365 return id; |
|
1366 } |
|
1367 static void |
|
1368 register_gst_tag_flag (GType* id) |
|
1369 { |
|
1370 static const GEnumValue values[] = { |
|
1371 { C_ENUM(GST_TAG_FLAG_UNDEFINED), "GST_TAG_FLAG_UNDEFINED", "undefined" }, |
|
1372 { C_ENUM(GST_TAG_FLAG_META), "GST_TAG_FLAG_META", "meta" }, |
|
1373 { C_ENUM(GST_TAG_FLAG_ENCODED), "GST_TAG_FLAG_ENCODED", "encoded" }, |
|
1374 { C_ENUM(GST_TAG_FLAG_DECODED), "GST_TAG_FLAG_DECODED", "decoded" }, |
|
1375 { C_ENUM(GST_TAG_FLAG_COUNT), "GST_TAG_FLAG_COUNT", "count" }, |
|
1376 { 0, NULL, NULL } |
|
1377 }; |
|
1378 *id = g_enum_register_static ("GstTagFlag", values); |
|
1379 } |
|
1380 #ifdef __SYMBIAN32__ |
|
1381 EXPORT_C |
|
1382 #endif |
|
1383 |
|
1384 GType |
|
1385 gst_tag_flag_get_type (void) |
|
1386 { |
|
1387 static GType id; |
|
1388 static GOnce once = G_ONCE_INIT; |
|
1389 |
|
1390 g_once (&once, (GThreadFunc)register_gst_tag_flag, &id); |
|
1391 return id; |
|
1392 } |
|
1393 |
|
1394 /* enumerations from "gsttask.h" */ |
|
1395 static void |
|
1396 register_gst_task_state (GType* id) |
|
1397 { |
|
1398 static const GEnumValue values[] = { |
|
1399 { C_ENUM(GST_TASK_STARTED), "GST_TASK_STARTED", "started" }, |
|
1400 { C_ENUM(GST_TASK_STOPPED), "GST_TASK_STOPPED", "stopped" }, |
|
1401 { C_ENUM(GST_TASK_PAUSED), "GST_TASK_PAUSED", "paused" }, |
|
1402 { 0, NULL, NULL } |
|
1403 }; |
|
1404 *id = g_enum_register_static ("GstTaskState", values); |
|
1405 } |
|
1406 #ifdef __SYMBIAN32__ |
|
1407 EXPORT_C |
|
1408 #endif |
|
1409 |
|
1410 GType |
|
1411 gst_task_state_get_type (void) |
|
1412 { |
|
1413 static GType id; |
|
1414 static GOnce once = G_ONCE_INIT; |
|
1415 |
|
1416 g_once (&once, (GThreadFunc)register_gst_task_state, &id); |
|
1417 return id; |
|
1418 } |
|
1419 |
|
1420 /* enumerations from "gsttrace.h" */ |
|
1421 static void |
|
1422 register_gst_alloc_trace_flags (GType* id) |
|
1423 { |
|
1424 static const GFlagsValue values[] = { |
|
1425 { C_FLAGS(GST_ALLOC_TRACE_LIVE), "GST_ALLOC_TRACE_LIVE", "live" }, |
|
1426 { C_FLAGS(GST_ALLOC_TRACE_MEM_LIVE), "GST_ALLOC_TRACE_MEM_LIVE", "mem-live" }, |
|
1427 { 0, NULL, NULL } |
|
1428 }; |
|
1429 *id = g_flags_register_static ("GstAllocTraceFlags", values); |
|
1430 } |
|
1431 #ifdef __SYMBIAN32__ |
|
1432 EXPORT_C |
|
1433 #endif |
|
1434 |
|
1435 GType |
|
1436 gst_alloc_trace_flags_get_type (void) |
|
1437 { |
|
1438 static GType id; |
|
1439 static GOnce once = G_ONCE_INIT; |
|
1440 |
|
1441 g_once (&once, (GThreadFunc)register_gst_alloc_trace_flags, &id); |
|
1442 return id; |
|
1443 } |
|
1444 |
|
1445 /* enumerations from "gsttypefind.h" */ |
|
1446 static void |
|
1447 register_gst_type_find_probability (GType* id) |
|
1448 { |
|
1449 static const GEnumValue values[] = { |
|
1450 { C_ENUM(GST_TYPE_FIND_MINIMUM), "GST_TYPE_FIND_MINIMUM", "minimum" }, |
|
1451 { C_ENUM(GST_TYPE_FIND_POSSIBLE), "GST_TYPE_FIND_POSSIBLE", "possible" }, |
|
1452 { C_ENUM(GST_TYPE_FIND_LIKELY), "GST_TYPE_FIND_LIKELY", "likely" }, |
|
1453 { C_ENUM(GST_TYPE_FIND_NEARLY_CERTAIN), "GST_TYPE_FIND_NEARLY_CERTAIN", "nearly-certain" }, |
|
1454 { C_ENUM(GST_TYPE_FIND_MAXIMUM), "GST_TYPE_FIND_MAXIMUM", "maximum" }, |
|
1455 { 0, NULL, NULL } |
|
1456 }; |
|
1457 *id = g_enum_register_static ("GstTypeFindProbability", values); |
|
1458 } |
|
1459 #ifdef __SYMBIAN32__ |
|
1460 EXPORT_C |
|
1461 #endif |
|
1462 |
|
1463 GType |
|
1464 gst_type_find_probability_get_type (void) |
|
1465 { |
|
1466 static GType id; |
|
1467 static GOnce once = G_ONCE_INIT; |
|
1468 |
|
1469 g_once (&once, (GThreadFunc)register_gst_type_find_probability, &id); |
|
1470 return id; |
|
1471 } |
|
1472 |
|
1473 /* enumerations from "gsturi.h" */ |
|
1474 static void |
|
1475 register_gst_uri_type (GType* id) |
|
1476 { |
|
1477 static const GEnumValue values[] = { |
|
1478 { C_ENUM(GST_URI_UNKNOWN), "GST_URI_UNKNOWN", "unknown" }, |
|
1479 { C_ENUM(GST_URI_SINK), "GST_URI_SINK", "sink" }, |
|
1480 { C_ENUM(GST_URI_SRC), "GST_URI_SRC", "src" }, |
|
1481 { 0, NULL, NULL } |
|
1482 }; |
|
1483 *id = g_enum_register_static ("GstURIType", values); |
|
1484 } |
|
1485 #ifdef __SYMBIAN32__ |
|
1486 EXPORT_C |
|
1487 #endif |
|
1488 |
|
1489 GType |
|
1490 gst_uri_type_get_type (void) |
|
1491 { |
|
1492 static GType id; |
|
1493 static GOnce once = G_ONCE_INIT; |
|
1494 |
|
1495 g_once (&once, (GThreadFunc)register_gst_uri_type, &id); |
|
1496 return id; |
|
1497 } |
|
1498 |
|
1499 /* enumerations from "gstparse.h" */ |
|
1500 static void |
|
1501 register_gst_parse_error (GType* id) |
|
1502 { |
|
1503 static const GEnumValue values[] = { |
|
1504 { C_ENUM(GST_PARSE_ERROR_SYNTAX), "GST_PARSE_ERROR_SYNTAX", "syntax" }, |
|
1505 { C_ENUM(GST_PARSE_ERROR_NO_SUCH_ELEMENT), "GST_PARSE_ERROR_NO_SUCH_ELEMENT", "no-such-element" }, |
|
1506 { C_ENUM(GST_PARSE_ERROR_NO_SUCH_PROPERTY), "GST_PARSE_ERROR_NO_SUCH_PROPERTY", "no-such-property" }, |
|
1507 { C_ENUM(GST_PARSE_ERROR_LINK), "GST_PARSE_ERROR_LINK", "link" }, |
|
1508 { C_ENUM(GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY), "GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property" }, |
|
1509 { C_ENUM(GST_PARSE_ERROR_EMPTY_BIN), "GST_PARSE_ERROR_EMPTY_BIN", "empty-bin" }, |
|
1510 { C_ENUM(GST_PARSE_ERROR_EMPTY), "GST_PARSE_ERROR_EMPTY", "empty" }, |
|
1511 { 0, NULL, NULL } |
|
1512 }; |
|
1513 *id = g_enum_register_static ("GstParseError", values); |
|
1514 } |
|
1515 #ifdef __SYMBIAN32__ |
|
1516 EXPORT_C |
|
1517 #endif |
|
1518 |
|
1519 GType |
|
1520 gst_parse_error_get_type (void) |
|
1521 { |
|
1522 static GType id; |
|
1523 static GOnce once = G_ONCE_INIT; |
|
1524 |
|
1525 g_once (&once, (GThreadFunc)register_gst_parse_error, &id); |
|
1526 return id; |
|
1527 } |
|
1528 |
|
1529 /* Generated data ends here */ |
|
1530 |