4 #include "gst_private.h"
6 #define C_ENUM(v) ((gint) v)
7 #define C_FLAGS(v) ((guint) v)
10 /* enumerations from "gstobject.h" */
12 gst_object_flags_get_type (void)
15 static const GFlagsValue values[] = {
16 {C_FLAGS (GST_OBJECT_FLAG_LAST), "GST_OBJECT_FLAG_LAST", "last"},
20 if (g_once_init_enter (&id)) {
21 GType tmp = g_flags_register_static ("GstObjectFlags", values);
22 g_once_init_leave (&id, tmp);
28 /* enumerations from "gstbin.h" */
30 gst_bin_flags_get_type (void)
33 static const GFlagsValue values[] = {
34 {C_FLAGS (GST_BIN_FLAG_LAST), "GST_BIN_FLAG_LAST", "last"},
38 if (g_once_init_enter (&id)) {
39 GType tmp = g_flags_register_static ("GstBinFlags", values);
40 g_once_init_leave (&id, tmp);
46 /* enumerations from "gstbuffer.h" */
48 gst_buffer_flags_get_type (void)
51 static const GFlagsValue values[] = {
52 {C_FLAGS (GST_BUFFER_FLAG_LIVE), "GST_BUFFER_FLAG_LIVE", "live"},
53 {C_FLAGS (GST_BUFFER_FLAG_DECODE_ONLY), "GST_BUFFER_FLAG_DECODE_ONLY",
55 {C_FLAGS (GST_BUFFER_FLAG_DISCONT), "GST_BUFFER_FLAG_DISCONT", "discont"},
56 {C_FLAGS (GST_BUFFER_FLAG_RESYNC), "GST_BUFFER_FLAG_RESYNC", "resync"},
57 {C_FLAGS (GST_BUFFER_FLAG_CORRUPTED), "GST_BUFFER_FLAG_CORRUPTED",
59 {C_FLAGS (GST_BUFFER_FLAG_MARKER), "GST_BUFFER_FLAG_MARKER", "marker"},
60 {C_FLAGS (GST_BUFFER_FLAG_HEADER), "GST_BUFFER_FLAG_HEADER", "header"},
61 {C_FLAGS (GST_BUFFER_FLAG_GAP), "GST_BUFFER_FLAG_GAP", "gap"},
62 {C_FLAGS (GST_BUFFER_FLAG_DROPPABLE), "GST_BUFFER_FLAG_DROPPABLE",
64 {C_FLAGS (GST_BUFFER_FLAG_DELTA_UNIT), "GST_BUFFER_FLAG_DELTA_UNIT",
66 {C_FLAGS (GST_BUFFER_FLAG_LAST), "GST_BUFFER_FLAG_LAST", "last"},
70 if (g_once_init_enter (&id)) {
71 GType tmp = g_flags_register_static ("GstBufferFlags", values);
72 g_once_init_leave (&id, tmp);
79 gst_buffer_copy_flags_get_type (void)
82 static const GFlagsValue values[] = {
83 {C_FLAGS (GST_BUFFER_COPY_NONE), "GST_BUFFER_COPY_NONE", "none"},
84 {C_FLAGS (GST_BUFFER_COPY_FLAGS), "GST_BUFFER_COPY_FLAGS", "flags"},
85 {C_FLAGS (GST_BUFFER_COPY_TIMESTAMPS), "GST_BUFFER_COPY_TIMESTAMPS",
87 {C_FLAGS (GST_BUFFER_COPY_META), "GST_BUFFER_COPY_META", "meta"},
88 {C_FLAGS (GST_BUFFER_COPY_MEMORY), "GST_BUFFER_COPY_MEMORY", "memory"},
89 {C_FLAGS (GST_BUFFER_COPY_MERGE), "GST_BUFFER_COPY_MERGE", "merge"},
93 if (g_once_init_enter (&id)) {
94 GType tmp = g_flags_register_static ("GstBufferCopyFlags", values);
95 g_once_init_leave (&id, tmp);
101 /* enumerations from "gstbufferpool.h" */
103 gst_buffer_pool_acquire_flags_get_type (void)
106 static const GFlagsValue values[] = {
107 {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_NONE),
108 "GST_BUFFER_POOL_ACQUIRE_FLAG_NONE", "none"},
109 {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT),
110 "GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT", "key-unit"},
111 {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT),
112 "GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT", "dontwait"},
113 {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT),
114 "GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT", "discont"},
115 {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_LAST),
116 "GST_BUFFER_POOL_ACQUIRE_FLAG_LAST", "last"},
120 if (g_once_init_enter (&id)) {
121 GType tmp = g_flags_register_static ("GstBufferPoolAcquireFlags", values);
122 g_once_init_leave (&id, tmp);
128 /* enumerations from "gstbus.h" */
130 gst_bus_flags_get_type (void)
133 static const GFlagsValue values[] = {
134 {C_FLAGS (GST_BUS_FLUSHING), "GST_BUS_FLUSHING", "flushing"},
135 {C_FLAGS (GST_BUS_FLAG_LAST), "GST_BUS_FLAG_LAST", "flag-last"},
139 if (g_once_init_enter (&id)) {
140 GType tmp = g_flags_register_static ("GstBusFlags", values);
141 g_once_init_leave (&id, tmp);
148 gst_bus_sync_reply_get_type (void)
151 static const GEnumValue values[] = {
152 {C_ENUM (GST_BUS_DROP), "GST_BUS_DROP", "drop"},
153 {C_ENUM (GST_BUS_PASS), "GST_BUS_PASS", "pass"},
154 {C_ENUM (GST_BUS_ASYNC), "GST_BUS_ASYNC", "async"},
158 if (g_once_init_enter (&id)) {
159 GType tmp = g_enum_register_static ("GstBusSyncReply", values);
160 g_once_init_leave (&id, tmp);
166 /* enumerations from "gstcaps.h" */
168 gst_caps_flags_get_type (void)
171 static const GFlagsValue values[] = {
172 {C_FLAGS (GST_CAPS_FLAG_ANY), "GST_CAPS_FLAG_ANY", "any"},
176 if (g_once_init_enter (&id)) {
177 GType tmp = g_flags_register_static ("GstCapsFlags", values);
178 g_once_init_leave (&id, tmp);
185 gst_caps_intersect_mode_get_type (void)
188 static const GEnumValue values[] = {
189 {C_ENUM (GST_CAPS_INTERSECT_ZIG_ZAG), "GST_CAPS_INTERSECT_ZIG_ZAG",
191 {C_ENUM (GST_CAPS_INTERSECT_FIRST), "GST_CAPS_INTERSECT_FIRST", "first"},
195 if (g_once_init_enter (&id)) {
196 GType tmp = g_enum_register_static ("GstCapsIntersectMode", values);
197 g_once_init_leave (&id, tmp);
203 /* enumerations from "gstclock.h" */
205 gst_clock_return_get_type (void)
208 static const GEnumValue values[] = {
209 {C_ENUM (GST_CLOCK_OK), "GST_CLOCK_OK", "ok"},
210 {C_ENUM (GST_CLOCK_EARLY), "GST_CLOCK_EARLY", "early"},
211 {C_ENUM (GST_CLOCK_UNSCHEDULED), "GST_CLOCK_UNSCHEDULED", "unscheduled"},
212 {C_ENUM (GST_CLOCK_BUSY), "GST_CLOCK_BUSY", "busy"},
213 {C_ENUM (GST_CLOCK_BADTIME), "GST_CLOCK_BADTIME", "badtime"},
214 {C_ENUM (GST_CLOCK_ERROR), "GST_CLOCK_ERROR", "error"},
215 {C_ENUM (GST_CLOCK_UNSUPPORTED), "GST_CLOCK_UNSUPPORTED", "unsupported"},
216 {C_ENUM (GST_CLOCK_DONE), "GST_CLOCK_DONE", "done"},
220 if (g_once_init_enter (&id)) {
221 GType tmp = g_enum_register_static ("GstClockReturn", values);
222 g_once_init_leave (&id, tmp);
229 gst_clock_entry_type_get_type (void)
232 static const GEnumValue values[] = {
233 {C_ENUM (GST_CLOCK_ENTRY_SINGLE), "GST_CLOCK_ENTRY_SINGLE", "single"},
234 {C_ENUM (GST_CLOCK_ENTRY_PERIODIC), "GST_CLOCK_ENTRY_PERIODIC", "periodic"},
238 if (g_once_init_enter (&id)) {
239 GType tmp = g_enum_register_static ("GstClockEntryType", values);
240 g_once_init_leave (&id, tmp);
247 gst_clock_flags_get_type (void)
250 static const GFlagsValue values[] = {
251 {C_FLAGS (GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC),
252 "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", "can-do-single-sync"},
253 {C_FLAGS (GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC),
254 "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", "can-do-single-async"},
255 {C_FLAGS (GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC),
256 "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "can-do-periodic-sync"},
257 {C_FLAGS (GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC),
258 "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "can-do-periodic-async"},
259 {C_FLAGS (GST_CLOCK_FLAG_CAN_SET_RESOLUTION),
260 "GST_CLOCK_FLAG_CAN_SET_RESOLUTION", "can-set-resolution"},
261 {C_FLAGS (GST_CLOCK_FLAG_CAN_SET_MASTER), "GST_CLOCK_FLAG_CAN_SET_MASTER",
263 {C_FLAGS (GST_CLOCK_FLAG_LAST), "GST_CLOCK_FLAG_LAST", "last"},
267 if (g_once_init_enter (&id)) {
268 GType tmp = g_flags_register_static ("GstClockFlags", values);
269 g_once_init_leave (&id, tmp);
275 /* enumerations from "gstdebugutils.h" */
277 gst_debug_graph_details_get_type (void)
280 static const GFlagsValue values[] = {
281 {C_FLAGS (GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE),
282 "GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE", "media-type"},
283 {C_FLAGS (GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS),
284 "GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS", "caps-details"},
285 {C_FLAGS (GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS),
286 "GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS", "non-default-params"},
287 {C_FLAGS (GST_DEBUG_GRAPH_SHOW_STATES), "GST_DEBUG_GRAPH_SHOW_STATES",
289 {C_FLAGS (GST_DEBUG_GRAPH_SHOW_ALL), "GST_DEBUG_GRAPH_SHOW_ALL", "all"},
293 if (g_once_init_enter (&id)) {
294 GType tmp = g_flags_register_static ("GstDebugGraphDetails", values);
295 g_once_init_leave (&id, tmp);
301 /* enumerations from "gstelement.h" */
303 gst_state_get_type (void)
306 static const GEnumValue values[] = {
307 {C_ENUM (GST_STATE_VOID_PENDING), "GST_STATE_VOID_PENDING", "void-pending"},
308 {C_ENUM (GST_STATE_NULL), "GST_STATE_NULL", "null"},
309 {C_ENUM (GST_STATE_READY), "GST_STATE_READY", "ready"},
310 {C_ENUM (GST_STATE_PAUSED), "GST_STATE_PAUSED", "paused"},
311 {C_ENUM (GST_STATE_PLAYING), "GST_STATE_PLAYING", "playing"},
315 if (g_once_init_enter (&id)) {
316 GType tmp = g_enum_register_static ("GstState", values);
317 g_once_init_leave (&id, tmp);
324 gst_state_change_return_get_type (void)
327 static const GEnumValue values[] = {
328 {C_ENUM (GST_STATE_CHANGE_FAILURE), "GST_STATE_CHANGE_FAILURE", "failure"},
329 {C_ENUM (GST_STATE_CHANGE_SUCCESS), "GST_STATE_CHANGE_SUCCESS", "success"},
330 {C_ENUM (GST_STATE_CHANGE_ASYNC), "GST_STATE_CHANGE_ASYNC", "async"},
331 {C_ENUM (GST_STATE_CHANGE_NO_PREROLL), "GST_STATE_CHANGE_NO_PREROLL",
336 if (g_once_init_enter (&id)) {
337 GType tmp = g_enum_register_static ("GstStateChangeReturn", values);
338 g_once_init_leave (&id, tmp);
345 gst_state_change_get_type (void)
348 static const GEnumValue values[] = {
349 {C_ENUM (GST_STATE_CHANGE_NULL_TO_READY), "GST_STATE_CHANGE_NULL_TO_READY",
351 {C_ENUM (GST_STATE_CHANGE_READY_TO_PAUSED),
352 "GST_STATE_CHANGE_READY_TO_PAUSED", "ready-to-paused"},
353 {C_ENUM (GST_STATE_CHANGE_PAUSED_TO_PLAYING),
354 "GST_STATE_CHANGE_PAUSED_TO_PLAYING", "paused-to-playing"},
355 {C_ENUM (GST_STATE_CHANGE_PLAYING_TO_PAUSED),
356 "GST_STATE_CHANGE_PLAYING_TO_PAUSED", "playing-to-paused"},
357 {C_ENUM (GST_STATE_CHANGE_PAUSED_TO_READY),
358 "GST_STATE_CHANGE_PAUSED_TO_READY", "paused-to-ready"},
359 {C_ENUM (GST_STATE_CHANGE_READY_TO_NULL), "GST_STATE_CHANGE_READY_TO_NULL",
364 if (g_once_init_enter (&id)) {
365 GType tmp = g_enum_register_static ("GstStateChange", values);
366 g_once_init_leave (&id, tmp);
373 gst_element_flags_get_type (void)
376 static const GFlagsValue values[] = {
377 {C_FLAGS (GST_ELEMENT_FLAG_UNPARENTING), "GST_ELEMENT_FLAG_UNPARENTING",
379 {C_FLAGS (GST_ELEMENT_FLAG_LOCKED_STATE), "GST_ELEMENT_FLAG_LOCKED_STATE",
381 {C_FLAGS (GST_ELEMENT_FLAG_SINK), "GST_ELEMENT_FLAG_SINK", "sink"},
382 {C_FLAGS (GST_ELEMENT_FLAG_SOURCE), "GST_ELEMENT_FLAG_SOURCE", "source"},
383 {C_FLAGS (GST_ELEMENT_FLAG_PROVIDE_CLOCK), "GST_ELEMENT_FLAG_PROVIDE_CLOCK",
385 {C_FLAGS (GST_ELEMENT_FLAG_REQUIRE_CLOCK), "GST_ELEMENT_FLAG_REQUIRE_CLOCK",
387 {C_FLAGS (GST_ELEMENT_FLAG_INDEXABLE), "GST_ELEMENT_FLAG_INDEXABLE",
389 {C_FLAGS (GST_ELEMENT_FLAG_LAST), "GST_ELEMENT_FLAG_LAST", "last"},
393 if (g_once_init_enter (&id)) {
394 GType tmp = g_flags_register_static ("GstElementFlags", values);
395 g_once_init_leave (&id, tmp);
401 /* enumerations from "gsterror.h" */
403 gst_core_error_get_type (void)
406 static const GEnumValue values[] = {
407 {C_ENUM (GST_CORE_ERROR_FAILED), "GST_CORE_ERROR_FAILED", "failed"},
408 {C_ENUM (GST_CORE_ERROR_TOO_LAZY), "GST_CORE_ERROR_TOO_LAZY", "too-lazy"},
409 {C_ENUM (GST_CORE_ERROR_NOT_IMPLEMENTED), "GST_CORE_ERROR_NOT_IMPLEMENTED",
411 {C_ENUM (GST_CORE_ERROR_STATE_CHANGE), "GST_CORE_ERROR_STATE_CHANGE",
413 {C_ENUM (GST_CORE_ERROR_PAD), "GST_CORE_ERROR_PAD", "pad"},
414 {C_ENUM (GST_CORE_ERROR_THREAD), "GST_CORE_ERROR_THREAD", "thread"},
415 {C_ENUM (GST_CORE_ERROR_NEGOTIATION), "GST_CORE_ERROR_NEGOTIATION",
417 {C_ENUM (GST_CORE_ERROR_EVENT), "GST_CORE_ERROR_EVENT", "event"},
418 {C_ENUM (GST_CORE_ERROR_SEEK), "GST_CORE_ERROR_SEEK", "seek"},
419 {C_ENUM (GST_CORE_ERROR_CAPS), "GST_CORE_ERROR_CAPS", "caps"},
420 {C_ENUM (GST_CORE_ERROR_TAG), "GST_CORE_ERROR_TAG", "tag"},
421 {C_ENUM (GST_CORE_ERROR_MISSING_PLUGIN), "GST_CORE_ERROR_MISSING_PLUGIN",
423 {C_ENUM (GST_CORE_ERROR_CLOCK), "GST_CORE_ERROR_CLOCK", "clock"},
424 {C_ENUM (GST_CORE_ERROR_DISABLED), "GST_CORE_ERROR_DISABLED", "disabled"},
425 {C_ENUM (GST_CORE_ERROR_NUM_ERRORS), "GST_CORE_ERROR_NUM_ERRORS",
430 if (g_once_init_enter (&id)) {
431 GType tmp = g_enum_register_static ("GstCoreError", values);
432 g_once_init_leave (&id, tmp);
439 gst_library_error_get_type (void)
442 static const GEnumValue values[] = {
443 {C_ENUM (GST_LIBRARY_ERROR_FAILED), "GST_LIBRARY_ERROR_FAILED", "failed"},
444 {C_ENUM (GST_LIBRARY_ERROR_TOO_LAZY), "GST_LIBRARY_ERROR_TOO_LAZY",
446 {C_ENUM (GST_LIBRARY_ERROR_INIT), "GST_LIBRARY_ERROR_INIT", "init"},
447 {C_ENUM (GST_LIBRARY_ERROR_SHUTDOWN), "GST_LIBRARY_ERROR_SHUTDOWN",
449 {C_ENUM (GST_LIBRARY_ERROR_SETTINGS), "GST_LIBRARY_ERROR_SETTINGS",
451 {C_ENUM (GST_LIBRARY_ERROR_ENCODE), "GST_LIBRARY_ERROR_ENCODE", "encode"},
452 {C_ENUM (GST_LIBRARY_ERROR_NUM_ERRORS), "GST_LIBRARY_ERROR_NUM_ERRORS",
457 if (g_once_init_enter (&id)) {
458 GType tmp = g_enum_register_static ("GstLibraryError", values);
459 g_once_init_leave (&id, tmp);
466 gst_resource_error_get_type (void)
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",
473 {C_ENUM (GST_RESOURCE_ERROR_NOT_FOUND), "GST_RESOURCE_ERROR_NOT_FOUND",
475 {C_ENUM (GST_RESOURCE_ERROR_BUSY), "GST_RESOURCE_ERROR_BUSY", "busy"},
476 {C_ENUM (GST_RESOURCE_ERROR_OPEN_READ), "GST_RESOURCE_ERROR_OPEN_READ",
478 {C_ENUM (GST_RESOURCE_ERROR_OPEN_WRITE), "GST_RESOURCE_ERROR_OPEN_WRITE",
480 {C_ENUM (GST_RESOURCE_ERROR_OPEN_READ_WRITE),
481 "GST_RESOURCE_ERROR_OPEN_READ_WRITE", "open-read-write"},
482 {C_ENUM (GST_RESOURCE_ERROR_CLOSE), "GST_RESOURCE_ERROR_CLOSE", "close"},
483 {C_ENUM (GST_RESOURCE_ERROR_READ), "GST_RESOURCE_ERROR_READ", "read"},
484 {C_ENUM (GST_RESOURCE_ERROR_WRITE), "GST_RESOURCE_ERROR_WRITE", "write"},
485 {C_ENUM (GST_RESOURCE_ERROR_SEEK), "GST_RESOURCE_ERROR_SEEK", "seek"},
486 {C_ENUM (GST_RESOURCE_ERROR_SYNC), "GST_RESOURCE_ERROR_SYNC", "sync"},
487 {C_ENUM (GST_RESOURCE_ERROR_SETTINGS), "GST_RESOURCE_ERROR_SETTINGS",
489 {C_ENUM (GST_RESOURCE_ERROR_NO_SPACE_LEFT),
490 "GST_RESOURCE_ERROR_NO_SPACE_LEFT", "no-space-left"},
491 {C_ENUM (GST_RESOURCE_ERROR_NUM_ERRORS), "GST_RESOURCE_ERROR_NUM_ERRORS",
496 if (g_once_init_enter (&id)) {
497 GType tmp = g_enum_register_static ("GstResourceError", values);
498 g_once_init_leave (&id, tmp);
505 gst_stream_error_get_type (void)
508 static const GEnumValue values[] = {
509 {C_ENUM (GST_STREAM_ERROR_FAILED), "GST_STREAM_ERROR_FAILED", "failed"},
510 {C_ENUM (GST_STREAM_ERROR_TOO_LAZY), "GST_STREAM_ERROR_TOO_LAZY",
512 {C_ENUM (GST_STREAM_ERROR_NOT_IMPLEMENTED),
513 "GST_STREAM_ERROR_NOT_IMPLEMENTED", "not-implemented"},
514 {C_ENUM (GST_STREAM_ERROR_TYPE_NOT_FOUND),
515 "GST_STREAM_ERROR_TYPE_NOT_FOUND", "type-not-found"},
516 {C_ENUM (GST_STREAM_ERROR_WRONG_TYPE), "GST_STREAM_ERROR_WRONG_TYPE",
518 {C_ENUM (GST_STREAM_ERROR_CODEC_NOT_FOUND),
519 "GST_STREAM_ERROR_CODEC_NOT_FOUND", "codec-not-found"},
520 {C_ENUM (GST_STREAM_ERROR_DECODE), "GST_STREAM_ERROR_DECODE", "decode"},
521 {C_ENUM (GST_STREAM_ERROR_ENCODE), "GST_STREAM_ERROR_ENCODE", "encode"},
522 {C_ENUM (GST_STREAM_ERROR_DEMUX), "GST_STREAM_ERROR_DEMUX", "demux"},
523 {C_ENUM (GST_STREAM_ERROR_MUX), "GST_STREAM_ERROR_MUX", "mux"},
524 {C_ENUM (GST_STREAM_ERROR_FORMAT), "GST_STREAM_ERROR_FORMAT", "format"},
525 {C_ENUM (GST_STREAM_ERROR_DECRYPT), "GST_STREAM_ERROR_DECRYPT", "decrypt"},
526 {C_ENUM (GST_STREAM_ERROR_DECRYPT_NOKEY), "GST_STREAM_ERROR_DECRYPT_NOKEY",
528 {C_ENUM (GST_STREAM_ERROR_NUM_ERRORS), "GST_STREAM_ERROR_NUM_ERRORS",
533 if (g_once_init_enter (&id)) {
534 GType tmp = g_enum_register_static ("GstStreamError", values);
535 g_once_init_leave (&id, tmp);
541 /* enumerations from "gstevent.h" */
543 gst_event_type_flags_get_type (void)
546 static const GFlagsValue values[] = {
547 {C_FLAGS (GST_EVENT_TYPE_UPSTREAM), "GST_EVENT_TYPE_UPSTREAM", "upstream"},
548 {C_FLAGS (GST_EVENT_TYPE_DOWNSTREAM), "GST_EVENT_TYPE_DOWNSTREAM",
550 {C_FLAGS (GST_EVENT_TYPE_SERIALIZED), "GST_EVENT_TYPE_SERIALIZED",
552 {C_FLAGS (GST_EVENT_TYPE_STICKY), "GST_EVENT_TYPE_STICKY", "sticky"},
553 {C_FLAGS (GST_EVENT_TYPE_STICKY_MULTI), "GST_EVENT_TYPE_STICKY_MULTI",
558 if (g_once_init_enter (&id)) {
559 GType tmp = g_flags_register_static ("GstEventTypeFlags", values);
560 g_once_init_leave (&id, tmp);
567 gst_event_type_get_type (void)
570 static const GEnumValue values[] = {
571 {C_ENUM (GST_EVENT_UNKNOWN), "GST_EVENT_UNKNOWN", "unknown"},
572 {C_ENUM (GST_EVENT_FLUSH_START), "GST_EVENT_FLUSH_START", "flush-start"},
573 {C_ENUM (GST_EVENT_FLUSH_STOP), "GST_EVENT_FLUSH_STOP", "flush-stop"},
574 {C_ENUM (GST_EVENT_STREAM_START), "GST_EVENT_STREAM_START", "stream-start"},
575 {C_ENUM (GST_EVENT_CAPS), "GST_EVENT_CAPS", "caps"},
576 {C_ENUM (GST_EVENT_STREAM_CONFIG), "GST_EVENT_STREAM_CONFIG",
578 {C_ENUM (GST_EVENT_SEGMENT), "GST_EVENT_SEGMENT", "segment"},
579 {C_ENUM (GST_EVENT_TAG), "GST_EVENT_TAG", "tag"},
580 {C_ENUM (GST_EVENT_BUFFERSIZE), "GST_EVENT_BUFFERSIZE", "buffersize"},
581 {C_ENUM (GST_EVENT_SINK_MESSAGE), "GST_EVENT_SINK_MESSAGE", "sink-message"},
582 {C_ENUM (GST_EVENT_EOS), "GST_EVENT_EOS", "eos"},
583 {C_ENUM (GST_EVENT_TOC), "GST_EVENT_TOC", "toc"},
584 {C_ENUM (GST_EVENT_SEGMENT_DONE), "GST_EVENT_SEGMENT_DONE", "segment-done"},
585 {C_ENUM (GST_EVENT_GAP), "GST_EVENT_GAP", "gap"},
586 {C_ENUM (GST_EVENT_QOS), "GST_EVENT_QOS", "qos"},
587 {C_ENUM (GST_EVENT_SEEK), "GST_EVENT_SEEK", "seek"},
588 {C_ENUM (GST_EVENT_NAVIGATION), "GST_EVENT_NAVIGATION", "navigation"},
589 {C_ENUM (GST_EVENT_LATENCY), "GST_EVENT_LATENCY", "latency"},
590 {C_ENUM (GST_EVENT_STEP), "GST_EVENT_STEP", "step"},
591 {C_ENUM (GST_EVENT_RECONFIGURE), "GST_EVENT_RECONFIGURE", "reconfigure"},
592 {C_ENUM (GST_EVENT_TOC_SELECT), "GST_EVENT_TOC_SELECT", "toc-select"},
593 {C_ENUM (GST_EVENT_CUSTOM_UPSTREAM), "GST_EVENT_CUSTOM_UPSTREAM",
595 {C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM), "GST_EVENT_CUSTOM_DOWNSTREAM",
596 "custom-downstream"},
597 {C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM_OOB),
598 "GST_EVENT_CUSTOM_DOWNSTREAM_OOB", "custom-downstream-oob"},
599 {C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM_STICKY),
600 "GST_EVENT_CUSTOM_DOWNSTREAM_STICKY", "custom-downstream-sticky"},
601 {C_ENUM (GST_EVENT_CUSTOM_BOTH), "GST_EVENT_CUSTOM_BOTH", "custom-both"},
602 {C_ENUM (GST_EVENT_CUSTOM_BOTH_OOB), "GST_EVENT_CUSTOM_BOTH_OOB",
607 if (g_once_init_enter (&id)) {
608 GType tmp = g_enum_register_static ("GstEventType", values);
609 g_once_init_leave (&id, tmp);
616 gst_qos_type_get_type (void)
619 static const GEnumValue values[] = {
620 {C_ENUM (GST_QOS_TYPE_OVERFLOW), "GST_QOS_TYPE_OVERFLOW", "overflow"},
621 {C_ENUM (GST_QOS_TYPE_UNDERFLOW), "GST_QOS_TYPE_UNDERFLOW", "underflow"},
622 {C_ENUM (GST_QOS_TYPE_THROTTLE), "GST_QOS_TYPE_THROTTLE", "throttle"},
626 if (g_once_init_enter (&id)) {
627 GType tmp = g_enum_register_static ("GstQOSType", values);
628 g_once_init_leave (&id, tmp);
635 gst_stream_config_flags_get_type (void)
638 static const GEnumValue values[] = {
639 {C_ENUM (GST_STREAM_CONFIG_FLAG_NONE), "GST_STREAM_CONFIG_FLAG_NONE",
644 if (g_once_init_enter (&id)) {
645 GType tmp = g_enum_register_static ("GstStreamConfigFlags", values);
646 g_once_init_leave (&id, tmp);
652 /* enumerations from "gstformat.h" */
654 gst_format_get_type (void)
657 static const GEnumValue values[] = {
658 {C_ENUM (GST_FORMAT_UNDEFINED), "GST_FORMAT_UNDEFINED", "undefined"},
659 {C_ENUM (GST_FORMAT_DEFAULT), "GST_FORMAT_DEFAULT", "default"},
660 {C_ENUM (GST_FORMAT_BYTES), "GST_FORMAT_BYTES", "bytes"},
661 {C_ENUM (GST_FORMAT_TIME), "GST_FORMAT_TIME", "time"},
662 {C_ENUM (GST_FORMAT_BUFFERS), "GST_FORMAT_BUFFERS", "buffers"},
663 {C_ENUM (GST_FORMAT_PERCENT), "GST_FORMAT_PERCENT", "percent"},
667 if (g_once_init_enter (&id)) {
668 GType tmp = g_enum_register_static ("GstFormat", values);
669 g_once_init_leave (&id, tmp);
675 /* enumerations from "gstinfo.h" */
677 gst_debug_level_get_type (void)
680 static const GEnumValue values[] = {
681 {C_ENUM (GST_LEVEL_NONE), "GST_LEVEL_NONE", "none"},
682 {C_ENUM (GST_LEVEL_ERROR), "GST_LEVEL_ERROR", "error"},
683 {C_ENUM (GST_LEVEL_WARNING), "GST_LEVEL_WARNING", "warning"},
684 {C_ENUM (GST_LEVEL_FIXME), "GST_LEVEL_FIXME", "fixme"},
685 {C_ENUM (GST_LEVEL_INFO), "GST_LEVEL_INFO", "info"},
686 {C_ENUM (GST_LEVEL_DEBUG), "GST_LEVEL_DEBUG", "debug"},
687 {C_ENUM (GST_LEVEL_LOG), "GST_LEVEL_LOG", "log"},
688 {C_ENUM (GST_LEVEL_TRACE), "GST_LEVEL_TRACE", "trace"},
689 {C_ENUM (GST_LEVEL_MEMDUMP), "GST_LEVEL_MEMDUMP", "memdump"},
690 {C_ENUM (GST_LEVEL_COUNT), "GST_LEVEL_COUNT", "count"},
694 if (g_once_init_enter (&id)) {
695 GType tmp = g_enum_register_static ("GstDebugLevel", values);
696 g_once_init_leave (&id, tmp);
703 gst_debug_color_flags_get_type (void)
706 static const GEnumValue values[] = {
707 {C_ENUM (GST_DEBUG_FG_BLACK), "GST_DEBUG_FG_BLACK", "fg-black"},
708 {C_ENUM (GST_DEBUG_FG_RED), "GST_DEBUG_FG_RED", "fg-red"},
709 {C_ENUM (GST_DEBUG_FG_GREEN), "GST_DEBUG_FG_GREEN", "fg-green"},
710 {C_ENUM (GST_DEBUG_FG_YELLOW), "GST_DEBUG_FG_YELLOW", "fg-yellow"},
711 {C_ENUM (GST_DEBUG_FG_BLUE), "GST_DEBUG_FG_BLUE", "fg-blue"},
712 {C_ENUM (GST_DEBUG_FG_MAGENTA), "GST_DEBUG_FG_MAGENTA", "fg-magenta"},
713 {C_ENUM (GST_DEBUG_FG_CYAN), "GST_DEBUG_FG_CYAN", "fg-cyan"},
714 {C_ENUM (GST_DEBUG_FG_WHITE), "GST_DEBUG_FG_WHITE", "fg-white"},
715 {C_ENUM (GST_DEBUG_BG_BLACK), "GST_DEBUG_BG_BLACK", "bg-black"},
716 {C_ENUM (GST_DEBUG_BG_RED), "GST_DEBUG_BG_RED", "bg-red"},
717 {C_ENUM (GST_DEBUG_BG_GREEN), "GST_DEBUG_BG_GREEN", "bg-green"},
718 {C_ENUM (GST_DEBUG_BG_YELLOW), "GST_DEBUG_BG_YELLOW", "bg-yellow"},
719 {C_ENUM (GST_DEBUG_BG_BLUE), "GST_DEBUG_BG_BLUE", "bg-blue"},
720 {C_ENUM (GST_DEBUG_BG_MAGENTA), "GST_DEBUG_BG_MAGENTA", "bg-magenta"},
721 {C_ENUM (GST_DEBUG_BG_CYAN), "GST_DEBUG_BG_CYAN", "bg-cyan"},
722 {C_ENUM (GST_DEBUG_BG_WHITE), "GST_DEBUG_BG_WHITE", "bg-white"},
723 {C_ENUM (GST_DEBUG_BOLD), "GST_DEBUG_BOLD", "bold"},
724 {C_ENUM (GST_DEBUG_UNDERLINE), "GST_DEBUG_UNDERLINE", "underline"},
728 if (g_once_init_enter (&id)) {
729 GType tmp = g_enum_register_static ("GstDebugColorFlags", values);
730 g_once_init_leave (&id, tmp);
736 /* enumerations from "gstiterator.h" */
738 gst_iterator_result_get_type (void)
741 static const GEnumValue values[] = {
742 {C_ENUM (GST_ITERATOR_DONE), "GST_ITERATOR_DONE", "done"},
743 {C_ENUM (GST_ITERATOR_OK), "GST_ITERATOR_OK", "ok"},
744 {C_ENUM (GST_ITERATOR_RESYNC), "GST_ITERATOR_RESYNC", "resync"},
745 {C_ENUM (GST_ITERATOR_ERROR), "GST_ITERATOR_ERROR", "error"},
749 if (g_once_init_enter (&id)) {
750 GType tmp = g_enum_register_static ("GstIteratorResult", values);
751 g_once_init_leave (&id, tmp);
758 gst_iterator_item_get_type (void)
761 static const GEnumValue values[] = {
762 {C_ENUM (GST_ITERATOR_ITEM_SKIP), "GST_ITERATOR_ITEM_SKIP", "skip"},
763 {C_ENUM (GST_ITERATOR_ITEM_PASS), "GST_ITERATOR_ITEM_PASS", "pass"},
764 {C_ENUM (GST_ITERATOR_ITEM_END), "GST_ITERATOR_ITEM_END", "end"},
768 if (g_once_init_enter (&id)) {
769 GType tmp = g_enum_register_static ("GstIteratorItem", values);
770 g_once_init_leave (&id, tmp);
776 /* enumerations from "gstmessage.h" */
778 gst_message_type_get_type (void)
781 static const GFlagsValue values[] = {
782 {C_FLAGS (GST_MESSAGE_UNKNOWN), "GST_MESSAGE_UNKNOWN", "unknown"},
783 {C_FLAGS (GST_MESSAGE_EOS), "GST_MESSAGE_EOS", "eos"},
784 {C_FLAGS (GST_MESSAGE_ERROR), "GST_MESSAGE_ERROR", "error"},
785 {C_FLAGS (GST_MESSAGE_WARNING), "GST_MESSAGE_WARNING", "warning"},
786 {C_FLAGS (GST_MESSAGE_INFO), "GST_MESSAGE_INFO", "info"},
787 {C_FLAGS (GST_MESSAGE_TAG), "GST_MESSAGE_TAG", "tag"},
788 {C_FLAGS (GST_MESSAGE_BUFFERING), "GST_MESSAGE_BUFFERING", "buffering"},
789 {C_FLAGS (GST_MESSAGE_STATE_CHANGED), "GST_MESSAGE_STATE_CHANGED",
791 {C_FLAGS (GST_MESSAGE_STATE_DIRTY), "GST_MESSAGE_STATE_DIRTY",
793 {C_FLAGS (GST_MESSAGE_STEP_DONE), "GST_MESSAGE_STEP_DONE", "step-done"},
794 {C_FLAGS (GST_MESSAGE_CLOCK_PROVIDE), "GST_MESSAGE_CLOCK_PROVIDE",
796 {C_FLAGS (GST_MESSAGE_CLOCK_LOST), "GST_MESSAGE_CLOCK_LOST", "clock-lost"},
797 {C_FLAGS (GST_MESSAGE_NEW_CLOCK), "GST_MESSAGE_NEW_CLOCK", "new-clock"},
798 {C_FLAGS (GST_MESSAGE_STRUCTURE_CHANGE), "GST_MESSAGE_STRUCTURE_CHANGE",
800 {C_FLAGS (GST_MESSAGE_STREAM_STATUS), "GST_MESSAGE_STREAM_STATUS",
802 {C_FLAGS (GST_MESSAGE_APPLICATION), "GST_MESSAGE_APPLICATION",
804 {C_FLAGS (GST_MESSAGE_ELEMENT), "GST_MESSAGE_ELEMENT", "element"},
805 {C_FLAGS (GST_MESSAGE_SEGMENT_START), "GST_MESSAGE_SEGMENT_START",
807 {C_FLAGS (GST_MESSAGE_SEGMENT_DONE), "GST_MESSAGE_SEGMENT_DONE",
809 {C_FLAGS (GST_MESSAGE_DURATION), "GST_MESSAGE_DURATION", "duration"},
810 {C_FLAGS (GST_MESSAGE_LATENCY), "GST_MESSAGE_LATENCY", "latency"},
811 {C_FLAGS (GST_MESSAGE_ASYNC_START), "GST_MESSAGE_ASYNC_START",
813 {C_FLAGS (GST_MESSAGE_ASYNC_DONE), "GST_MESSAGE_ASYNC_DONE", "async-done"},
814 {C_FLAGS (GST_MESSAGE_REQUEST_STATE), "GST_MESSAGE_REQUEST_STATE",
816 {C_FLAGS (GST_MESSAGE_STEP_START), "GST_MESSAGE_STEP_START", "step-start"},
817 {C_FLAGS (GST_MESSAGE_QOS), "GST_MESSAGE_QOS", "qos"},
818 {C_FLAGS (GST_MESSAGE_PROGRESS), "GST_MESSAGE_PROGRESS", "progress"},
819 {C_FLAGS (GST_MESSAGE_TOC), "GST_MESSAGE_TOC", "toc"},
820 {C_FLAGS (GST_MESSAGE_ANY), "GST_MESSAGE_ANY", "any"},
824 if (g_once_init_enter (&id)) {
825 GType tmp = g_flags_register_static ("GstMessageType", values);
826 g_once_init_leave (&id, tmp);
833 gst_structure_change_type_get_type (void)
836 static const GEnumValue values[] = {
837 {C_ENUM (GST_STRUCTURE_CHANGE_TYPE_PAD_LINK),
838 "GST_STRUCTURE_CHANGE_TYPE_PAD_LINK", "link"},
839 {C_ENUM (GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK),
840 "GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK", "unlink"},
844 if (g_once_init_enter (&id)) {
845 GType tmp = g_enum_register_static ("GstStructureChangeType", values);
846 g_once_init_leave (&id, tmp);
853 gst_stream_status_type_get_type (void)
856 static const GEnumValue values[] = {
857 {C_ENUM (GST_STREAM_STATUS_TYPE_CREATE), "GST_STREAM_STATUS_TYPE_CREATE",
859 {C_ENUM (GST_STREAM_STATUS_TYPE_ENTER), "GST_STREAM_STATUS_TYPE_ENTER",
861 {C_ENUM (GST_STREAM_STATUS_TYPE_LEAVE), "GST_STREAM_STATUS_TYPE_LEAVE",
863 {C_ENUM (GST_STREAM_STATUS_TYPE_DESTROY), "GST_STREAM_STATUS_TYPE_DESTROY",
865 {C_ENUM (GST_STREAM_STATUS_TYPE_START), "GST_STREAM_STATUS_TYPE_START",
867 {C_ENUM (GST_STREAM_STATUS_TYPE_PAUSE), "GST_STREAM_STATUS_TYPE_PAUSE",
869 {C_ENUM (GST_STREAM_STATUS_TYPE_STOP), "GST_STREAM_STATUS_TYPE_STOP",
874 if (g_once_init_enter (&id)) {
875 GType tmp = g_enum_register_static ("GstStreamStatusType", values);
876 g_once_init_leave (&id, tmp);
883 gst_progress_type_get_type (void)
886 static const GEnumValue values[] = {
887 {C_ENUM (GST_PROGRESS_TYPE_START), "GST_PROGRESS_TYPE_START", "start"},
888 {C_ENUM (GST_PROGRESS_TYPE_CONTINUE), "GST_PROGRESS_TYPE_CONTINUE",
890 {C_ENUM (GST_PROGRESS_TYPE_COMPLETE), "GST_PROGRESS_TYPE_COMPLETE",
892 {C_ENUM (GST_PROGRESS_TYPE_CANCELED), "GST_PROGRESS_TYPE_CANCELED",
894 {C_ENUM (GST_PROGRESS_TYPE_ERROR), "GST_PROGRESS_TYPE_ERROR", "error"},
898 if (g_once_init_enter (&id)) {
899 GType tmp = g_enum_register_static ("GstProgressType", values);
900 g_once_init_leave (&id, tmp);
906 /* enumerations from "gstmeta.h" */
908 gst_meta_flags_get_type (void)
911 static const GFlagsValue values[] = {
912 {C_FLAGS (GST_META_FLAG_NONE), "GST_META_FLAG_NONE", "none"},
913 {C_FLAGS (GST_META_FLAG_READONLY), "GST_META_FLAG_READONLY", "readonly"},
914 {C_FLAGS (GST_META_FLAG_POOLED), "GST_META_FLAG_POOLED", "pooled"},
915 {C_FLAGS (GST_META_FLAG_LAST), "GST_META_FLAG_LAST", "last"},
919 if (g_once_init_enter (&id)) {
920 GType tmp = g_flags_register_static ("GstMetaFlags", values);
921 g_once_init_leave (&id, tmp);
927 /* enumerations from "gstmemory.h" */
929 gst_memory_flags_get_type (void)
932 static const GFlagsValue values[] = {
933 {C_FLAGS (GST_MEMORY_FLAG_READONLY), "GST_MEMORY_FLAG_READONLY",
935 {C_FLAGS (GST_MEMORY_FLAG_NO_SHARE), "GST_MEMORY_FLAG_NO_SHARE",
937 {C_FLAGS (GST_MEMORY_FLAG_ZERO_PREFIXED), "GST_MEMORY_FLAG_ZERO_PREFIXED",
939 {C_FLAGS (GST_MEMORY_FLAG_ZERO_PADDED), "GST_MEMORY_FLAG_ZERO_PADDED",
941 {C_FLAGS (GST_MEMORY_FLAG_LAST), "GST_MEMORY_FLAG_LAST", "last"},
945 if (g_once_init_enter (&id)) {
946 GType tmp = g_flags_register_static ("GstMemoryFlags", values);
947 g_once_init_leave (&id, tmp);
954 gst_map_flags_get_type (void)
957 static const GFlagsValue values[] = {
958 {C_FLAGS (GST_MAP_READ), "GST_MAP_READ", "read"},
959 {C_FLAGS (GST_MAP_WRITE), "GST_MAP_WRITE", "write"},
960 {C_FLAGS (GST_MAP_FLAG_LAST), "GST_MAP_FLAG_LAST", "flag-last"},
964 if (g_once_init_enter (&id)) {
965 GType tmp = g_flags_register_static ("GstMapFlags", values);
966 g_once_init_leave (&id, tmp);
972 /* enumerations from "gstminiobject.h" */
974 gst_mini_object_flags_get_type (void)
977 static const GFlagsValue values[] = {
978 {C_FLAGS (GST_MINI_OBJECT_FLAG_LAST), "GST_MINI_OBJECT_FLAG_LAST", "last"},
982 if (g_once_init_enter (&id)) {
983 GType tmp = g_flags_register_static ("GstMiniObjectFlags", values);
984 g_once_init_leave (&id, tmp);
990 /* enumerations from "gstpad.h" */
992 gst_pad_direction_get_type (void)
995 static const GEnumValue values[] = {
996 {C_ENUM (GST_PAD_UNKNOWN), "GST_PAD_UNKNOWN", "unknown"},
997 {C_ENUM (GST_PAD_SRC), "GST_PAD_SRC", "src"},
998 {C_ENUM (GST_PAD_SINK), "GST_PAD_SINK", "sink"},
1002 if (g_once_init_enter (&id)) {
1003 GType tmp = g_enum_register_static ("GstPadDirection", values);
1004 g_once_init_leave (&id, tmp);
1011 gst_pad_mode_get_type (void)
1013 static gsize id = 0;
1014 static const GEnumValue values[] = {
1015 {C_ENUM (GST_PAD_MODE_NONE), "GST_PAD_MODE_NONE", "none"},
1016 {C_ENUM (GST_PAD_MODE_PUSH), "GST_PAD_MODE_PUSH", "push"},
1017 {C_ENUM (GST_PAD_MODE_PULL), "GST_PAD_MODE_PULL", "pull"},
1021 if (g_once_init_enter (&id)) {
1022 GType tmp = g_enum_register_static ("GstPadMode", values);
1023 g_once_init_leave (&id, tmp);
1030 gst_pad_link_return_get_type (void)
1032 static gsize id = 0;
1033 static const GEnumValue values[] = {
1034 {C_ENUM (GST_PAD_LINK_OK), "GST_PAD_LINK_OK", "ok"},
1035 {C_ENUM (GST_PAD_LINK_WRONG_HIERARCHY), "GST_PAD_LINK_WRONG_HIERARCHY",
1037 {C_ENUM (GST_PAD_LINK_WAS_LINKED), "GST_PAD_LINK_WAS_LINKED", "was-linked"},
1038 {C_ENUM (GST_PAD_LINK_WRONG_DIRECTION), "GST_PAD_LINK_WRONG_DIRECTION",
1040 {C_ENUM (GST_PAD_LINK_NOFORMAT), "GST_PAD_LINK_NOFORMAT", "noformat"},
1041 {C_ENUM (GST_PAD_LINK_NOSCHED), "GST_PAD_LINK_NOSCHED", "nosched"},
1042 {C_ENUM (GST_PAD_LINK_REFUSED), "GST_PAD_LINK_REFUSED", "refused"},
1046 if (g_once_init_enter (&id)) {
1047 GType tmp = g_enum_register_static ("GstPadLinkReturn", values);
1048 g_once_init_leave (&id, tmp);
1055 gst_flow_return_get_type (void)
1057 static gsize id = 0;
1058 static const GEnumValue values[] = {
1059 {C_ENUM (GST_FLOW_CUSTOM_SUCCESS_2), "GST_FLOW_CUSTOM_SUCCESS_2",
1060 "custom-success-2"},
1061 {C_ENUM (GST_FLOW_CUSTOM_SUCCESS_1), "GST_FLOW_CUSTOM_SUCCESS_1",
1062 "custom-success-1"},
1063 {C_ENUM (GST_FLOW_CUSTOM_SUCCESS), "GST_FLOW_CUSTOM_SUCCESS",
1065 {C_ENUM (GST_FLOW_OK), "GST_FLOW_OK", "ok"},
1066 {C_ENUM (GST_FLOW_NOT_LINKED), "GST_FLOW_NOT_LINKED", "not-linked"},
1067 {C_ENUM (GST_FLOW_FLUSHING), "GST_FLOW_FLUSHING", "flushing"},
1068 {C_ENUM (GST_FLOW_EOS), "GST_FLOW_EOS", "eos"},
1069 {C_ENUM (GST_FLOW_NOT_NEGOTIATED), "GST_FLOW_NOT_NEGOTIATED",
1071 {C_ENUM (GST_FLOW_ERROR), "GST_FLOW_ERROR", "error"},
1072 {C_ENUM (GST_FLOW_NOT_SUPPORTED), "GST_FLOW_NOT_SUPPORTED",
1074 {C_ENUM (GST_FLOW_CUSTOM_ERROR), "GST_FLOW_CUSTOM_ERROR", "custom-error"},
1075 {C_ENUM (GST_FLOW_CUSTOM_ERROR_1), "GST_FLOW_CUSTOM_ERROR_1",
1077 {C_ENUM (GST_FLOW_CUSTOM_ERROR_2), "GST_FLOW_CUSTOM_ERROR_2",
1082 if (g_once_init_enter (&id)) {
1083 GType tmp = g_enum_register_static ("GstFlowReturn", values);
1084 g_once_init_leave (&id, tmp);
1091 gst_pad_link_check_get_type (void)
1093 static gsize id = 0;
1094 static const GFlagsValue values[] = {
1095 {C_FLAGS (GST_PAD_LINK_CHECK_NOTHING), "GST_PAD_LINK_CHECK_NOTHING",
1097 {C_FLAGS (GST_PAD_LINK_CHECK_HIERARCHY), "GST_PAD_LINK_CHECK_HIERARCHY",
1099 {C_FLAGS (GST_PAD_LINK_CHECK_TEMPLATE_CAPS),
1100 "GST_PAD_LINK_CHECK_TEMPLATE_CAPS", "template-caps"},
1101 {C_FLAGS (GST_PAD_LINK_CHECK_CAPS), "GST_PAD_LINK_CHECK_CAPS", "caps"},
1105 if (g_once_init_enter (&id)) {
1106 GType tmp = g_flags_register_static ("GstPadLinkCheck", values);
1107 g_once_init_leave (&id, tmp);
1114 gst_pad_probe_type_get_type (void)
1116 static gsize id = 0;
1117 static const GFlagsValue values[] = {
1118 {C_FLAGS (GST_PAD_PROBE_TYPE_INVALID), "GST_PAD_PROBE_TYPE_INVALID",
1120 {C_FLAGS (GST_PAD_PROBE_TYPE_IDLE), "GST_PAD_PROBE_TYPE_IDLE", "idle"},
1121 {C_FLAGS (GST_PAD_PROBE_TYPE_BLOCK), "GST_PAD_PROBE_TYPE_BLOCK", "block"},
1122 {C_FLAGS (GST_PAD_PROBE_TYPE_BUFFER), "GST_PAD_PROBE_TYPE_BUFFER",
1124 {C_FLAGS (GST_PAD_PROBE_TYPE_BUFFER_LIST), "GST_PAD_PROBE_TYPE_BUFFER_LIST",
1126 {C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM),
1127 "GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM", "event-downstream"},
1128 {C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_UPSTREAM),
1129 "GST_PAD_PROBE_TYPE_EVENT_UPSTREAM", "event-upstream"},
1130 {C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_FLUSH), "GST_PAD_PROBE_TYPE_EVENT_FLUSH",
1132 {C_FLAGS (GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM),
1133 "GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM", "query-downstream"},
1134 {C_FLAGS (GST_PAD_PROBE_TYPE_QUERY_UPSTREAM),
1135 "GST_PAD_PROBE_TYPE_QUERY_UPSTREAM", "query-upstream"},
1136 {C_FLAGS (GST_PAD_PROBE_TYPE_PUSH), "GST_PAD_PROBE_TYPE_PUSH", "push"},
1137 {C_FLAGS (GST_PAD_PROBE_TYPE_PULL), "GST_PAD_PROBE_TYPE_PULL", "pull"},
1141 if (g_once_init_enter (&id)) {
1142 GType tmp = g_flags_register_static ("GstPadProbeType", values);
1143 g_once_init_leave (&id, tmp);
1150 gst_pad_probe_return_get_type (void)
1152 static gsize id = 0;
1153 static const GEnumValue values[] = {
1154 {C_ENUM (GST_PAD_PROBE_DROP), "GST_PAD_PROBE_DROP", "drop"},
1155 {C_ENUM (GST_PAD_PROBE_OK), "GST_PAD_PROBE_OK", "ok"},
1156 {C_ENUM (GST_PAD_PROBE_REMOVE), "GST_PAD_PROBE_REMOVE", "remove"},
1157 {C_ENUM (GST_PAD_PROBE_PASS), "GST_PAD_PROBE_PASS", "pass"},
1161 if (g_once_init_enter (&id)) {
1162 GType tmp = g_enum_register_static ("GstPadProbeReturn", values);
1163 g_once_init_leave (&id, tmp);
1170 gst_pad_flags_get_type (void)
1172 static gsize id = 0;
1173 static const GFlagsValue values[] = {
1174 {C_FLAGS (GST_PAD_FLAG_BLOCKED), "GST_PAD_FLAG_BLOCKED", "blocked"},
1175 {C_FLAGS (GST_PAD_FLAG_FLUSHING), "GST_PAD_FLAG_FLUSHING", "flushing"},
1176 {C_FLAGS (GST_PAD_FLAG_BLOCKING), "GST_PAD_FLAG_BLOCKING", "blocking"},
1177 {C_FLAGS (GST_PAD_FLAG_NEED_PARENT), "GST_PAD_FLAG_NEED_PARENT",
1179 {C_FLAGS (GST_PAD_FLAG_NEED_RECONFIGURE), "GST_PAD_FLAG_NEED_RECONFIGURE",
1180 "need-reconfigure"},
1181 {C_FLAGS (GST_PAD_FLAG_PENDING_EVENTS), "GST_PAD_FLAG_PENDING_EVENTS",
1183 {C_FLAGS (GST_PAD_FLAG_FIXED_CAPS), "GST_PAD_FLAG_FIXED_CAPS",
1185 {C_FLAGS (GST_PAD_FLAG_PROXY_CAPS), "GST_PAD_FLAG_PROXY_CAPS",
1187 {C_FLAGS (GST_PAD_FLAG_PROXY_ALLOCATION), "GST_PAD_FLAG_PROXY_ALLOCATION",
1188 "proxy-allocation"},
1189 {C_FLAGS (GST_PAD_FLAG_LAST), "GST_PAD_FLAG_LAST", "last"},
1193 if (g_once_init_enter (&id)) {
1194 GType tmp = g_flags_register_static ("GstPadFlags", values);
1195 g_once_init_leave (&id, tmp);
1201 /* enumerations from "gstpadtemplate.h" */
1203 gst_pad_presence_get_type (void)
1205 static gsize id = 0;
1206 static const GEnumValue values[] = {
1207 {C_ENUM (GST_PAD_ALWAYS), "GST_PAD_ALWAYS", "always"},
1208 {C_ENUM (GST_PAD_SOMETIMES), "GST_PAD_SOMETIMES", "sometimes"},
1209 {C_ENUM (GST_PAD_REQUEST), "GST_PAD_REQUEST", "request"},
1213 if (g_once_init_enter (&id)) {
1214 GType tmp = g_enum_register_static ("GstPadPresence", values);
1215 g_once_init_leave (&id, tmp);
1222 gst_pad_template_flags_get_type (void)
1224 static gsize id = 0;
1225 static const GFlagsValue values[] = {
1226 {C_FLAGS (GST_PAD_TEMPLATE_FLAG_LAST), "GST_PAD_TEMPLATE_FLAG_LAST",
1231 if (g_once_init_enter (&id)) {
1232 GType tmp = g_flags_register_static ("GstPadTemplateFlags", values);
1233 g_once_init_leave (&id, tmp);
1239 /* enumerations from "gstpipeline.h" */
1241 gst_pipeline_flags_get_type (void)
1243 static gsize id = 0;
1244 static const GFlagsValue values[] = {
1245 {C_FLAGS (GST_PIPELINE_FLAG_FIXED_CLOCK), "GST_PIPELINE_FLAG_FIXED_CLOCK",
1247 {C_FLAGS (GST_PIPELINE_FLAG_LAST), "GST_PIPELINE_FLAG_LAST", "last"},
1251 if (g_once_init_enter (&id)) {
1252 GType tmp = g_flags_register_static ("GstPipelineFlags", values);
1253 g_once_init_leave (&id, tmp);
1259 /* enumerations from "gstplugin.h" */
1261 gst_plugin_error_get_type (void)
1263 static gsize id = 0;
1264 static const GEnumValue values[] = {
1265 {C_ENUM (GST_PLUGIN_ERROR_MODULE), "GST_PLUGIN_ERROR_MODULE", "module"},
1266 {C_ENUM (GST_PLUGIN_ERROR_DEPENDENCIES), "GST_PLUGIN_ERROR_DEPENDENCIES",
1268 {C_ENUM (GST_PLUGIN_ERROR_NAME_MISMATCH), "GST_PLUGIN_ERROR_NAME_MISMATCH",
1273 if (g_once_init_enter (&id)) {
1274 GType tmp = g_enum_register_static ("GstPluginError", values);
1275 g_once_init_leave (&id, tmp);
1282 gst_plugin_flags_get_type (void)
1284 static gsize id = 0;
1285 static const GFlagsValue values[] = {
1286 {C_FLAGS (GST_PLUGIN_FLAG_CACHED), "GST_PLUGIN_FLAG_CACHED", "cached"},
1287 {C_FLAGS (GST_PLUGIN_FLAG_BLACKLISTED), "GST_PLUGIN_FLAG_BLACKLISTED",
1292 if (g_once_init_enter (&id)) {
1293 GType tmp = g_flags_register_static ("GstPluginFlags", values);
1294 g_once_init_leave (&id, tmp);
1301 gst_plugin_dependency_flags_get_type (void)
1303 static gsize id = 0;
1304 static const GFlagsValue values[] = {
1305 {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
1306 "GST_PLUGIN_DEPENDENCY_FLAG_NONE", "none"},
1307 {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
1308 "GST_PLUGIN_DEPENDENCY_FLAG_RECURSE", "recurse"},
1309 {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
1310 "GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY",
1311 "paths-are-default-only"},
1312 {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
1313 "GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX",
1314 "file-name-is-suffix"},
1318 if (g_once_init_enter (&id)) {
1319 GType tmp = g_flags_register_static ("GstPluginDependencyFlags", values);
1320 g_once_init_leave (&id, tmp);
1326 /* enumerations from "gstpluginfeature.h" */
1328 gst_rank_get_type (void)
1330 static gsize id = 0;
1331 static const GEnumValue values[] = {
1332 {C_ENUM (GST_RANK_NONE), "GST_RANK_NONE", "none"},
1333 {C_ENUM (GST_RANK_MARGINAL), "GST_RANK_MARGINAL", "marginal"},
1334 {C_ENUM (GST_RANK_SECONDARY), "GST_RANK_SECONDARY", "secondary"},
1335 {C_ENUM (GST_RANK_PRIMARY), "GST_RANK_PRIMARY", "primary"},
1339 if (g_once_init_enter (&id)) {
1340 GType tmp = g_enum_register_static ("GstRank", values);
1341 g_once_init_leave (&id, tmp);
1347 /* enumerations from "gstquery.h" */
1349 gst_query_type_flags_get_type (void)
1351 static gsize id = 0;
1352 static const GFlagsValue values[] = {
1353 {C_FLAGS (GST_QUERY_TYPE_UPSTREAM), "GST_QUERY_TYPE_UPSTREAM", "upstream"},
1354 {C_FLAGS (GST_QUERY_TYPE_DOWNSTREAM), "GST_QUERY_TYPE_DOWNSTREAM",
1356 {C_FLAGS (GST_QUERY_TYPE_SERIALIZED), "GST_QUERY_TYPE_SERIALIZED",
1361 if (g_once_init_enter (&id)) {
1362 GType tmp = g_flags_register_static ("GstQueryTypeFlags", values);
1363 g_once_init_leave (&id, tmp);
1370 gst_query_type_get_type (void)
1372 static gsize id = 0;
1373 static const GEnumValue values[] = {
1374 {C_ENUM (GST_QUERY_UNKNOWN), "GST_QUERY_UNKNOWN", "unknown"},
1375 {C_ENUM (GST_QUERY_POSITION), "GST_QUERY_POSITION", "position"},
1376 {C_ENUM (GST_QUERY_DURATION), "GST_QUERY_DURATION", "duration"},
1377 {C_ENUM (GST_QUERY_LATENCY), "GST_QUERY_LATENCY", "latency"},
1378 {C_ENUM (GST_QUERY_JITTER), "GST_QUERY_JITTER", "jitter"},
1379 {C_ENUM (GST_QUERY_RATE), "GST_QUERY_RATE", "rate"},
1380 {C_ENUM (GST_QUERY_SEEKING), "GST_QUERY_SEEKING", "seeking"},
1381 {C_ENUM (GST_QUERY_SEGMENT), "GST_QUERY_SEGMENT", "segment"},
1382 {C_ENUM (GST_QUERY_CONVERT), "GST_QUERY_CONVERT", "convert"},
1383 {C_ENUM (GST_QUERY_FORMATS), "GST_QUERY_FORMATS", "formats"},
1384 {C_ENUM (GST_QUERY_BUFFERING), "GST_QUERY_BUFFERING", "buffering"},
1385 {C_ENUM (GST_QUERY_CUSTOM), "GST_QUERY_CUSTOM", "custom"},
1386 {C_ENUM (GST_QUERY_URI), "GST_QUERY_URI", "uri"},
1387 {C_ENUM (GST_QUERY_ALLOCATION), "GST_QUERY_ALLOCATION", "allocation"},
1388 {C_ENUM (GST_QUERY_SCHEDULING), "GST_QUERY_SCHEDULING", "scheduling"},
1389 {C_ENUM (GST_QUERY_ACCEPT_CAPS), "GST_QUERY_ACCEPT_CAPS", "accept-caps"},
1390 {C_ENUM (GST_QUERY_CAPS), "GST_QUERY_CAPS", "caps"},
1391 {C_ENUM (GST_QUERY_DRAIN), "GST_QUERY_DRAIN", "drain"},
1392 {C_ENUM (GST_QUERY_TOC), "GST_QUERY_TOC", "toc"},
1396 if (g_once_init_enter (&id)) {
1397 GType tmp = g_enum_register_static ("GstQueryType", values);
1398 g_once_init_leave (&id, tmp);
1405 gst_buffering_mode_get_type (void)
1407 static gsize id = 0;
1408 static const GEnumValue values[] = {
1409 {C_ENUM (GST_BUFFERING_STREAM), "GST_BUFFERING_STREAM", "stream"},
1410 {C_ENUM (GST_BUFFERING_DOWNLOAD), "GST_BUFFERING_DOWNLOAD", "download"},
1411 {C_ENUM (GST_BUFFERING_TIMESHIFT), "GST_BUFFERING_TIMESHIFT", "timeshift"},
1412 {C_ENUM (GST_BUFFERING_LIVE), "GST_BUFFERING_LIVE", "live"},
1416 if (g_once_init_enter (&id)) {
1417 GType tmp = g_enum_register_static ("GstBufferingMode", values);
1418 g_once_init_leave (&id, tmp);
1425 gst_scheduling_flags_get_type (void)
1427 static gsize id = 0;
1428 static const GFlagsValue values[] = {
1429 {C_FLAGS (GST_SCHEDULING_FLAG_SEEKABLE), "GST_SCHEDULING_FLAG_SEEKABLE",
1431 {C_FLAGS (GST_SCHEDULING_FLAG_SEQUENTIAL), "GST_SCHEDULING_FLAG_SEQUENTIAL",
1436 if (g_once_init_enter (&id)) {
1437 GType tmp = g_flags_register_static ("GstSchedulingFlags", values);
1438 g_once_init_leave (&id, tmp);
1444 /* enumerations from "gstsegment.h" */
1446 gst_seek_type_get_type (void)
1448 static gsize id = 0;
1449 static const GEnumValue values[] = {
1450 {C_ENUM (GST_SEEK_TYPE_NONE), "GST_SEEK_TYPE_NONE", "none"},
1451 {C_ENUM (GST_SEEK_TYPE_SET), "GST_SEEK_TYPE_SET", "set"},
1452 {C_ENUM (GST_SEEK_TYPE_END), "GST_SEEK_TYPE_END", "end"},
1456 if (g_once_init_enter (&id)) {
1457 GType tmp = g_enum_register_static ("GstSeekType", values);
1458 g_once_init_leave (&id, tmp);
1465 gst_seek_flags_get_type (void)
1467 static gsize id = 0;
1468 static const GFlagsValue values[] = {
1469 {C_FLAGS (GST_SEEK_FLAG_NONE), "GST_SEEK_FLAG_NONE", "none"},
1470 {C_FLAGS (GST_SEEK_FLAG_FLUSH), "GST_SEEK_FLAG_FLUSH", "flush"},
1471 {C_FLAGS (GST_SEEK_FLAG_ACCURATE), "GST_SEEK_FLAG_ACCURATE", "accurate"},
1472 {C_FLAGS (GST_SEEK_FLAG_KEY_UNIT), "GST_SEEK_FLAG_KEY_UNIT", "key-unit"},
1473 {C_FLAGS (GST_SEEK_FLAG_SEGMENT), "GST_SEEK_FLAG_SEGMENT", "segment"},
1474 {C_FLAGS (GST_SEEK_FLAG_SKIP), "GST_SEEK_FLAG_SKIP", "skip"},
1475 {C_FLAGS (GST_SEEK_FLAG_SNAP_BEFORE), "GST_SEEK_FLAG_SNAP_BEFORE",
1477 {C_FLAGS (GST_SEEK_FLAG_SNAP_AFTER), "GST_SEEK_FLAG_SNAP_AFTER",
1482 if (g_once_init_enter (&id)) {
1483 GType tmp = g_flags_register_static ("GstSeekFlags", values);
1484 g_once_init_leave (&id, tmp);
1491 gst_segment_flags_get_type (void)
1493 static gsize id = 0;
1494 static const GEnumValue values[] = {
1495 {C_ENUM (GST_SEGMENT_FLAG_NONE), "GST_SEGMENT_FLAG_NONE", "none"},
1496 {C_ENUM (GST_SEGMENT_FLAG_RESET), "GST_SEGMENT_FLAG_RESET", "reset"},
1497 {C_ENUM (GST_SEGMENT_FLAG_SKIP), "GST_SEGMENT_FLAG_SKIP", "skip"},
1501 if (g_once_init_enter (&id)) {
1502 GType tmp = g_enum_register_static ("GstSegmentFlags", values);
1503 g_once_init_leave (&id, tmp);
1509 /* enumerations from "gstsystemclock.h" */
1511 gst_clock_type_get_type (void)
1513 static gsize id = 0;
1514 static const GEnumValue values[] = {
1515 {C_ENUM (GST_CLOCK_TYPE_REALTIME), "GST_CLOCK_TYPE_REALTIME", "realtime"},
1516 {C_ENUM (GST_CLOCK_TYPE_MONOTONIC), "GST_CLOCK_TYPE_MONOTONIC",
1521 if (g_once_init_enter (&id)) {
1522 GType tmp = g_enum_register_static ("GstClockType", values);
1523 g_once_init_leave (&id, tmp);
1529 /* enumerations from "gsttaglist.h" */
1531 gst_tag_merge_mode_get_type (void)
1533 static gsize id = 0;
1534 static const GEnumValue values[] = {
1535 {C_ENUM (GST_TAG_MERGE_UNDEFINED), "GST_TAG_MERGE_UNDEFINED", "undefined"},
1536 {C_ENUM (GST_TAG_MERGE_REPLACE_ALL), "GST_TAG_MERGE_REPLACE_ALL",
1538 {C_ENUM (GST_TAG_MERGE_REPLACE), "GST_TAG_MERGE_REPLACE", "replace"},
1539 {C_ENUM (GST_TAG_MERGE_APPEND), "GST_TAG_MERGE_APPEND", "append"},
1540 {C_ENUM (GST_TAG_MERGE_PREPEND), "GST_TAG_MERGE_PREPEND", "prepend"},
1541 {C_ENUM (GST_TAG_MERGE_KEEP), "GST_TAG_MERGE_KEEP", "keep"},
1542 {C_ENUM (GST_TAG_MERGE_KEEP_ALL), "GST_TAG_MERGE_KEEP_ALL", "keep-all"},
1543 {C_ENUM (GST_TAG_MERGE_COUNT), "GST_TAG_MERGE_COUNT", "count"},
1547 if (g_once_init_enter (&id)) {
1548 GType tmp = g_enum_register_static ("GstTagMergeMode", values);
1549 g_once_init_leave (&id, tmp);
1556 gst_tag_flag_get_type (void)
1558 static gsize id = 0;
1559 static const GEnumValue values[] = {
1560 {C_ENUM (GST_TAG_FLAG_UNDEFINED), "GST_TAG_FLAG_UNDEFINED", "undefined"},
1561 {C_ENUM (GST_TAG_FLAG_META), "GST_TAG_FLAG_META", "meta"},
1562 {C_ENUM (GST_TAG_FLAG_ENCODED), "GST_TAG_FLAG_ENCODED", "encoded"},
1563 {C_ENUM (GST_TAG_FLAG_DECODED), "GST_TAG_FLAG_DECODED", "decoded"},
1564 {C_ENUM (GST_TAG_FLAG_COUNT), "GST_TAG_FLAG_COUNT", "count"},
1568 if (g_once_init_enter (&id)) {
1569 GType tmp = g_enum_register_static ("GstTagFlag", values);
1570 g_once_init_leave (&id, tmp);
1576 /* enumerations from "gsttask.h" */
1578 gst_task_state_get_type (void)
1580 static gsize id = 0;
1581 static const GEnumValue values[] = {
1582 {C_ENUM (GST_TASK_STARTED), "GST_TASK_STARTED", "started"},
1583 {C_ENUM (GST_TASK_STOPPED), "GST_TASK_STOPPED", "stopped"},
1584 {C_ENUM (GST_TASK_PAUSED), "GST_TASK_PAUSED", "paused"},
1588 if (g_once_init_enter (&id)) {
1589 GType tmp = g_enum_register_static ("GstTaskState", values);
1590 g_once_init_leave (&id, tmp);
1596 /* enumerations from "gsttoc.h" */
1598 gst_toc_entry_type_get_type (void)
1600 static gsize id = 0;
1601 static const GEnumValue values[] = {
1602 {C_ENUM (GST_TOC_ENTRY_TYPE_CHAPTER), "GST_TOC_ENTRY_TYPE_CHAPTER",
1604 {C_ENUM (GST_TOC_ENTRY_TYPE_EDITION), "GST_TOC_ENTRY_TYPE_EDITION",
1609 if (g_once_init_enter (&id)) {
1610 GType tmp = g_enum_register_static ("GstTocEntryType", values);
1611 g_once_init_leave (&id, tmp);
1617 /* enumerations from "gsttypefind.h" */
1619 gst_type_find_probability_get_type (void)
1621 static gsize id = 0;
1622 static const GEnumValue values[] = {
1623 {C_ENUM (GST_TYPE_FIND_NONE), "GST_TYPE_FIND_NONE", "none"},
1624 {C_ENUM (GST_TYPE_FIND_MINIMUM), "GST_TYPE_FIND_MINIMUM", "minimum"},
1625 {C_ENUM (GST_TYPE_FIND_POSSIBLE), "GST_TYPE_FIND_POSSIBLE", "possible"},
1626 {C_ENUM (GST_TYPE_FIND_LIKELY), "GST_TYPE_FIND_LIKELY", "likely"},
1627 {C_ENUM (GST_TYPE_FIND_NEARLY_CERTAIN), "GST_TYPE_FIND_NEARLY_CERTAIN",
1629 {C_ENUM (GST_TYPE_FIND_MAXIMUM), "GST_TYPE_FIND_MAXIMUM", "maximum"},
1633 if (g_once_init_enter (&id)) {
1634 GType tmp = g_enum_register_static ("GstTypeFindProbability", values);
1635 g_once_init_leave (&id, tmp);
1641 /* enumerations from "gsturi.h" */
1643 gst_uri_error_get_type (void)
1645 static gsize id = 0;
1646 static const GEnumValue values[] = {
1647 {C_ENUM (GST_URI_ERROR_BAD_PROTOCOL), "GST_URI_ERROR_BAD_PROTOCOL",
1649 {C_ENUM (GST_URI_ERROR_BAD_URI), "GST_URI_ERROR_BAD_URI", "uri"},
1650 {C_ENUM (GST_URI_ERROR_BAD_STATE), "GST_URI_ERROR_BAD_STATE", "state"},
1651 {C_ENUM (GST_URI_ERROR_BAD_REFERENCE), "GST_URI_ERROR_BAD_REFERENCE",
1656 if (g_once_init_enter (&id)) {
1657 GType tmp = g_enum_register_static ("GstURIError", values);
1658 g_once_init_leave (&id, tmp);
1665 gst_uri_type_get_type (void)
1667 static gsize id = 0;
1668 static const GEnumValue values[] = {
1669 {C_ENUM (GST_URI_UNKNOWN), "GST_URI_UNKNOWN", "unknown"},
1670 {C_ENUM (GST_URI_SINK), "GST_URI_SINK", "sink"},
1671 {C_ENUM (GST_URI_SRC), "GST_URI_SRC", "src"},
1675 if (g_once_init_enter (&id)) {
1676 GType tmp = g_enum_register_static ("GstURIType", values);
1677 g_once_init_leave (&id, tmp);
1683 /* enumerations from "gstutils.h" */
1685 gst_search_mode_get_type (void)
1687 static gsize id = 0;
1688 static const GEnumValue values[] = {
1689 {C_ENUM (GST_SEARCH_MODE_EXACT), "GST_SEARCH_MODE_EXACT", "exact"},
1690 {C_ENUM (GST_SEARCH_MODE_BEFORE), "GST_SEARCH_MODE_BEFORE", "before"},
1691 {C_ENUM (GST_SEARCH_MODE_AFTER), "GST_SEARCH_MODE_AFTER", "after"},
1695 if (g_once_init_enter (&id)) {
1696 GType tmp = g_enum_register_static ("GstSearchMode", values);
1697 g_once_init_leave (&id, tmp);
1703 /* enumerations from "gstparse.h" */
1705 gst_parse_error_get_type (void)
1707 static gsize id = 0;
1708 static const GEnumValue values[] = {
1709 {C_ENUM (GST_PARSE_ERROR_SYNTAX), "GST_PARSE_ERROR_SYNTAX", "syntax"},
1710 {C_ENUM (GST_PARSE_ERROR_NO_SUCH_ELEMENT),
1711 "GST_PARSE_ERROR_NO_SUCH_ELEMENT", "no-such-element"},
1712 {C_ENUM (GST_PARSE_ERROR_NO_SUCH_PROPERTY),
1713 "GST_PARSE_ERROR_NO_SUCH_PROPERTY", "no-such-property"},
1714 {C_ENUM (GST_PARSE_ERROR_LINK), "GST_PARSE_ERROR_LINK", "link"},
1715 {C_ENUM (GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY),
1716 "GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property"},
1717 {C_ENUM (GST_PARSE_ERROR_EMPTY_BIN), "GST_PARSE_ERROR_EMPTY_BIN",
1719 {C_ENUM (GST_PARSE_ERROR_EMPTY), "GST_PARSE_ERROR_EMPTY", "empty"},
1723 if (g_once_init_enter (&id)) {
1724 GType tmp = g_enum_register_static ("GstParseError", values);
1725 g_once_init_leave (&id, tmp);
1732 gst_parse_flags_get_type (void)
1734 static gsize id = 0;
1735 static const GFlagsValue values[] = {
1736 {C_FLAGS (GST_PARSE_FLAG_NONE), "GST_PARSE_FLAG_NONE", "none"},
1737 {C_FLAGS (GST_PARSE_FLAG_FATAL_ERRORS), "GST_PARSE_FLAG_FATAL_ERRORS",
1742 if (g_once_init_enter (&id)) {
1743 GType tmp = g_flags_register_static ("GstParseFlags", values);
1744 g_once_init_leave (&id, tmp);