• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
3 
4 #include "gst/gst_private.h"
5 #include <gst/gst.h>
6 #include "gstenumtypes.h"
7 #include "gst.h"
8 #include "glib-compat.h"
9 #include "gstobject.h"
10 #include "gstallocator.h"
11 #include "gstbin.h"
12 #include "gstbuffer.h"
13 #include "gstbufferlist.h"
14 #include "gstbufferpool.h"
15 #include "gstbus.h"
16 #include "gstcaps.h"
17 #include "gstcapsfeatures.h"
18 #include "gstchildproxy.h"
19 #include "gstclock.h"
20 #include "gstcompat.h"
21 #include "gstcontext.h"
22 #include "gstcontrolbinding.h"
23 #include "gstcontrolsource.h"
24 #include "gstdatetime.h"
25 #include "gstdebugutils.h"
26 #include "gstelement.h"
27 #include "gstelementmetadata.h"
28 #include "gstdevice.h"
29 #include "gstdeviceprovider.h"
30 #include "gstdeviceproviderfactory.h"
31 #include "gstdynamictypefactory.h"
32 #include "gstelementfactory.h"
33 #include "gsterror.h"
34 #include "gstevent.h"
35 #include "gstformat.h"
36 #include "gstghostpad.h"
37 #include "gstdevicemonitor.h"
38 #include "gstinfo.h"
39 #include "gstiterator.h"
40 #include "gstatomicqueue.h"
41 #include "gstmacros.h"
42 #include "gstmessage.h"
43 #include "gstmeta.h"
44 #include "gstmemory.h"
45 #include "gstminiobject.h"
46 #include "gstpad.h"
47 #include "gstpadtemplate.h"
48 #include "gstparamspecs.h"
49 #include "gstpipeline.h"
50 #include "gstplugin.h"
51 #include "gstpluginfeature.h"
52 #include "gstpoll.h"
53 #include "gstpreset.h"
54 #include "gstprotection.h"
55 #include "gstquery.h"
56 #include "gstpromise.h"
57 #include "gstsample.h"
58 #include "gstsegment.h"
59 #include "gststreamcollection.h"
60 #include "gststreams.h"
61 #include "gststructure.h"
62 #include "gstsystemclock.h"
63 #include "gsttaglist.h"
64 #include "gsttagsetter.h"
65 #include "gsttask.h"
66 #include "gsttaskpool.h"
67 #include "gsttoc.h"
68 #include "gsttocsetter.h"
69 #include "gsttracer.h"
70 #include "gsttracerfactory.h"
71 #include "gsttracerrecord.h"
72 #include "gsttypefind.h"
73 #include "gsttypefindfactory.h"
74 #include "gsturi.h"
75 #include "gstutils.h"
76 #include "gstvalue.h"
77 #include "gstregistry.h"
78 #include "gstparse.h"
79 #include "math-compat.h"
80 
81 #define C_ENUM(v) ((gint) v)
82 #define C_FLAGS(v) ((guint) v)
83 
84 /* enumerations from "gstallocator.h" */
85 
86 GType
gst_allocator_flags_get_type(void)87 gst_allocator_flags_get_type (void)
88 {
89 static gsize gtype_id = 0;
90 static const GFlagsValue values[] = {
91     { C_FLAGS(GST_ALLOCATOR_FLAG_CUSTOM_ALLOC), "GST_ALLOCATOR_FLAG_CUSTOM_ALLOC", "custom-alloc" },
92     { C_FLAGS(GST_ALLOCATOR_FLAG_LAST), "GST_ALLOCATOR_FLAG_LAST", "last" },
93 { 0, NULL, NULL }
94         };
95         if (g_once_init_enter (&gtype_id)) {
96             GType new_type = g_flags_register_static (g_intern_static_string ("GstAllocatorFlags"), values);
97             g_once_init_leave (&gtype_id, new_type);
98         }
99         return (GType) gtype_id;
100         }
101 
102 /* enumerations from "gstbin.h" */
103 
104 GType
gst_bin_flags_get_type(void)105 gst_bin_flags_get_type (void)
106 {
107 static gsize gtype_id = 0;
108 static const GFlagsValue values[] = {
109     { C_FLAGS(GST_BIN_FLAG_NO_RESYNC), "GST_BIN_FLAG_NO_RESYNC", "no-resync" },
110     { C_FLAGS(GST_BIN_FLAG_STREAMS_AWARE), "GST_BIN_FLAG_STREAMS_AWARE", "streams-aware" },
111     { C_FLAGS(GST_BIN_FLAG_LAST), "GST_BIN_FLAG_LAST", "last" },
112 { 0, NULL, NULL }
113         };
114         if (g_once_init_enter (&gtype_id)) {
115             GType new_type = g_flags_register_static (g_intern_static_string ("GstBinFlags"), values);
116             g_once_init_leave (&gtype_id, new_type);
117         }
118         return (GType) gtype_id;
119         }
120 
121 /* enumerations from "gstbuffer.h" */
122 
123 GType
gst_buffer_flags_get_type(void)124 gst_buffer_flags_get_type (void)
125 {
126 static gsize gtype_id = 0;
127 static const GFlagsValue values[] = {
128     { C_FLAGS(GST_BUFFER_FLAG_LIVE), "GST_BUFFER_FLAG_LIVE", "live" },
129     { C_FLAGS(GST_BUFFER_FLAG_DECODE_ONLY), "GST_BUFFER_FLAG_DECODE_ONLY", "decode-only" },
130     { C_FLAGS(GST_BUFFER_FLAG_DISCONT), "GST_BUFFER_FLAG_DISCONT", "discont" },
131     { C_FLAGS(GST_BUFFER_FLAG_RESYNC), "GST_BUFFER_FLAG_RESYNC", "resync" },
132     { C_FLAGS(GST_BUFFER_FLAG_CORRUPTED), "GST_BUFFER_FLAG_CORRUPTED", "corrupted" },
133     { C_FLAGS(GST_BUFFER_FLAG_MARKER), "GST_BUFFER_FLAG_MARKER", "marker" },
134     { C_FLAGS(GST_BUFFER_FLAG_HEADER), "GST_BUFFER_FLAG_HEADER", "header" },
135     { C_FLAGS(GST_BUFFER_FLAG_GAP), "GST_BUFFER_FLAG_GAP", "gap" },
136     { C_FLAGS(GST_BUFFER_FLAG_DROPPABLE), "GST_BUFFER_FLAG_DROPPABLE", "droppable" },
137     { C_FLAGS(GST_BUFFER_FLAG_DELTA_UNIT), "GST_BUFFER_FLAG_DELTA_UNIT", "delta-unit" },
138     { C_FLAGS(GST_BUFFER_FLAG_TAG_MEMORY), "GST_BUFFER_FLAG_TAG_MEMORY", "tag-memory" },
139     { C_FLAGS(GST_BUFFER_FLAG_SYNC_AFTER), "GST_BUFFER_FLAG_SYNC_AFTER", "sync-after" },
140     { C_FLAGS(GST_BUFFER_FLAG_NON_DROPPABLE), "GST_BUFFER_FLAG_NON_DROPPABLE", "non-droppable" },
141     { C_FLAGS(GST_BUFFER_FLAG_LAST), "GST_BUFFER_FLAG_LAST", "last" },
142 { 0, NULL, NULL }
143         };
144         if (g_once_init_enter (&gtype_id)) {
145             GType new_type = g_flags_register_static (g_intern_static_string ("GstBufferFlags"), values);
146             g_once_init_leave (&gtype_id, new_type);
147         }
148         return (GType) gtype_id;
149         }
150 
151 GType
gst_buffer_copy_flags_get_type(void)152 gst_buffer_copy_flags_get_type (void)
153 {
154 static gsize gtype_id = 0;
155 static const GFlagsValue values[] = {
156     { C_FLAGS(GST_BUFFER_COPY_NONE), "GST_BUFFER_COPY_NONE", "none" },
157     { C_FLAGS(GST_BUFFER_COPY_FLAGS), "GST_BUFFER_COPY_FLAGS", "flags" },
158     { C_FLAGS(GST_BUFFER_COPY_TIMESTAMPS), "GST_BUFFER_COPY_TIMESTAMPS", "timestamps" },
159     { C_FLAGS(GST_BUFFER_COPY_META), "GST_BUFFER_COPY_META", "meta" },
160     { C_FLAGS(GST_BUFFER_COPY_MEMORY), "GST_BUFFER_COPY_MEMORY", "memory" },
161     { C_FLAGS(GST_BUFFER_COPY_MERGE), "GST_BUFFER_COPY_MERGE", "merge" },
162     { C_FLAGS(GST_BUFFER_COPY_DEEP), "GST_BUFFER_COPY_DEEP", "deep" },
163 { 0, NULL, NULL }
164         };
165         if (g_once_init_enter (&gtype_id)) {
166             GType new_type = g_flags_register_static (g_intern_static_string ("GstBufferCopyFlags"), values);
167             g_once_init_leave (&gtype_id, new_type);
168         }
169         return (GType) gtype_id;
170         }
171 
172 /* enumerations from "gstbufferpool.h" */
173 
174 GType
gst_buffer_pool_acquire_flags_get_type(void)175 gst_buffer_pool_acquire_flags_get_type (void)
176 {
177 static gsize gtype_id = 0;
178 static const GFlagsValue values[] = {
179     { C_FLAGS(GST_BUFFER_POOL_ACQUIRE_FLAG_NONE), "GST_BUFFER_POOL_ACQUIRE_FLAG_NONE", "none" },
180     { C_FLAGS(GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT), "GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT", "key-unit" },
181     { C_FLAGS(GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT), "GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT", "dontwait" },
182     { C_FLAGS(GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT), "GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT", "discont" },
183     { C_FLAGS(GST_BUFFER_POOL_ACQUIRE_FLAG_LAST), "GST_BUFFER_POOL_ACQUIRE_FLAG_LAST", "last" },
184 { 0, NULL, NULL }
185         };
186         if (g_once_init_enter (&gtype_id)) {
187             GType new_type = g_flags_register_static (g_intern_static_string ("GstBufferPoolAcquireFlags"), values);
188             g_once_init_leave (&gtype_id, new_type);
189         }
190         return (GType) gtype_id;
191         }
192 
193 /* enumerations from "gstbus.h" */
194 
195 GType
gst_bus_flags_get_type(void)196 gst_bus_flags_get_type (void)
197 {
198 static gsize gtype_id = 0;
199 static const GFlagsValue values[] = {
200     { C_FLAGS(GST_BUS_FLUSHING), "GST_BUS_FLUSHING", "flushing" },
201     { C_FLAGS(GST_BUS_FLAG_LAST), "GST_BUS_FLAG_LAST", "flag-last" },
202 { 0, NULL, NULL }
203         };
204         if (g_once_init_enter (&gtype_id)) {
205             GType new_type = g_flags_register_static (g_intern_static_string ("GstBusFlags"), values);
206             g_once_init_leave (&gtype_id, new_type);
207         }
208         return (GType) gtype_id;
209         }
210 
211 GType
gst_bus_sync_reply_get_type(void)212 gst_bus_sync_reply_get_type (void)
213 {
214 static gsize gtype_id = 0;
215 static const GEnumValue values[] = {
216     { C_ENUM(GST_BUS_DROP), "GST_BUS_DROP", "drop" },
217     { C_ENUM(GST_BUS_PASS), "GST_BUS_PASS", "pass" },
218     { C_ENUM(GST_BUS_ASYNC), "GST_BUS_ASYNC", "async" },
219 { 0, NULL, NULL }
220         };
221         if (g_once_init_enter (&gtype_id)) {
222             GType new_type = g_enum_register_static (g_intern_static_string ("GstBusSyncReply"), values);
223             g_once_init_leave (&gtype_id, new_type);
224         }
225         return (GType) gtype_id;
226         }
227 
228 /* enumerations from "gstcaps.h" */
229 
230 GType
gst_caps_flags_get_type(void)231 gst_caps_flags_get_type (void)
232 {
233 static gsize gtype_id = 0;
234 static const GFlagsValue values[] = {
235     { C_FLAGS(GST_CAPS_FLAG_ANY), "GST_CAPS_FLAG_ANY", "any" },
236 { 0, NULL, NULL }
237         };
238         if (g_once_init_enter (&gtype_id)) {
239             GType new_type = g_flags_register_static (g_intern_static_string ("GstCapsFlags"), values);
240             g_once_init_leave (&gtype_id, new_type);
241         }
242         return (GType) gtype_id;
243         }
244 
245 GType
gst_caps_intersect_mode_get_type(void)246 gst_caps_intersect_mode_get_type (void)
247 {
248 static gsize gtype_id = 0;
249 static const GEnumValue values[] = {
250     { C_ENUM(GST_CAPS_INTERSECT_ZIG_ZAG), "GST_CAPS_INTERSECT_ZIG_ZAG", "zig-zag" },
251     { C_ENUM(GST_CAPS_INTERSECT_FIRST), "GST_CAPS_INTERSECT_FIRST", "first" },
252 { 0, NULL, NULL }
253         };
254         if (g_once_init_enter (&gtype_id)) {
255             GType new_type = g_enum_register_static (g_intern_static_string ("GstCapsIntersectMode"), values);
256             g_once_init_leave (&gtype_id, new_type);
257         }
258         return (GType) gtype_id;
259         }
260 
261 /* enumerations from "gstclock.h" */
262 
263 GType
gst_clock_return_get_type(void)264 gst_clock_return_get_type (void)
265 {
266 static gsize gtype_id = 0;
267 static const GEnumValue values[] = {
268     { C_ENUM(GST_CLOCK_OK), "GST_CLOCK_OK", "ok" },
269     { C_ENUM(GST_CLOCK_EARLY), "GST_CLOCK_EARLY", "early" },
270     { C_ENUM(GST_CLOCK_UNSCHEDULED), "GST_CLOCK_UNSCHEDULED", "unscheduled" },
271     { C_ENUM(GST_CLOCK_BUSY), "GST_CLOCK_BUSY", "busy" },
272     { C_ENUM(GST_CLOCK_BADTIME), "GST_CLOCK_BADTIME", "badtime" },
273     { C_ENUM(GST_CLOCK_ERROR), "GST_CLOCK_ERROR", "error" },
274     { C_ENUM(GST_CLOCK_UNSUPPORTED), "GST_CLOCK_UNSUPPORTED", "unsupported" },
275     { C_ENUM(GST_CLOCK_DONE), "GST_CLOCK_DONE", "done" },
276 { 0, NULL, NULL }
277         };
278         if (g_once_init_enter (&gtype_id)) {
279             GType new_type = g_enum_register_static (g_intern_static_string ("GstClockReturn"), values);
280             g_once_init_leave (&gtype_id, new_type);
281         }
282         return (GType) gtype_id;
283         }
284 
285 GType
gst_clock_entry_type_get_type(void)286 gst_clock_entry_type_get_type (void)
287 {
288 static gsize gtype_id = 0;
289 static const GEnumValue values[] = {
290     { C_ENUM(GST_CLOCK_ENTRY_SINGLE), "GST_CLOCK_ENTRY_SINGLE", "single" },
291     { C_ENUM(GST_CLOCK_ENTRY_PERIODIC), "GST_CLOCK_ENTRY_PERIODIC", "periodic" },
292 { 0, NULL, NULL }
293         };
294         if (g_once_init_enter (&gtype_id)) {
295             GType new_type = g_enum_register_static (g_intern_static_string ("GstClockEntryType"), values);
296             g_once_init_leave (&gtype_id, new_type);
297         }
298         return (GType) gtype_id;
299         }
300 
301 GType
gst_clock_flags_get_type(void)302 gst_clock_flags_get_type (void)
303 {
304 static gsize gtype_id = 0;
305 static const GFlagsValue values[] = {
306     { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC), "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", "can-do-single-sync" },
307     { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC), "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", "can-do-single-async" },
308     { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC), "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "can-do-periodic-sync" },
309     { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC), "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "can-do-periodic-async" },
310     { C_FLAGS(GST_CLOCK_FLAG_CAN_SET_RESOLUTION), "GST_CLOCK_FLAG_CAN_SET_RESOLUTION", "can-set-resolution" },
311     { C_FLAGS(GST_CLOCK_FLAG_CAN_SET_MASTER), "GST_CLOCK_FLAG_CAN_SET_MASTER", "can-set-master" },
312     { C_FLAGS(GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC), "GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC", "needs-startup-sync" },
313     { C_FLAGS(GST_CLOCK_FLAG_LAST), "GST_CLOCK_FLAG_LAST", "last" },
314 { 0, NULL, NULL }
315         };
316         if (g_once_init_enter (&gtype_id)) {
317             GType new_type = g_flags_register_static (g_intern_static_string ("GstClockFlags"), values);
318             g_once_init_leave (&gtype_id, new_type);
319         }
320         return (GType) gtype_id;
321         }
322 
323 /* enumerations from "gstdebugutils.h" */
324 
325 GType
gst_debug_graph_details_get_type(void)326 gst_debug_graph_details_get_type (void)
327 {
328 static gsize gtype_id = 0;
329 static const GFlagsValue values[] = {
330     { C_FLAGS(GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE), "GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE", "media-type" },
331     { C_FLAGS(GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS), "GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS", "caps-details" },
332     { C_FLAGS(GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS), "GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS", "non-default-params" },
333     { C_FLAGS(GST_DEBUG_GRAPH_SHOW_STATES), "GST_DEBUG_GRAPH_SHOW_STATES", "states" },
334     { C_FLAGS(GST_DEBUG_GRAPH_SHOW_FULL_PARAMS), "GST_DEBUG_GRAPH_SHOW_FULL_PARAMS", "full-params" },
335     { C_FLAGS(GST_DEBUG_GRAPH_SHOW_ALL), "GST_DEBUG_GRAPH_SHOW_ALL", "all" },
336     { C_FLAGS(GST_DEBUG_GRAPH_SHOW_VERBOSE), "GST_DEBUG_GRAPH_SHOW_VERBOSE", "verbose" },
337 { 0, NULL, NULL }
338         };
339         if (g_once_init_enter (&gtype_id)) {
340             GType new_type = g_flags_register_static (g_intern_static_string ("GstDebugGraphDetails"), values);
341             g_once_init_leave (&gtype_id, new_type);
342         }
343         return (GType) gtype_id;
344         }
345 
346 /* enumerations from "gstelement.h" */
347 
348 GType
gst_state_get_type(void)349 gst_state_get_type (void)
350 {
351 static gsize gtype_id = 0;
352 static const GEnumValue values[] = {
353     { C_ENUM(GST_STATE_VOID_PENDING), "GST_STATE_VOID_PENDING", "void-pending" },
354     { C_ENUM(GST_STATE_NULL), "GST_STATE_NULL", "null" },
355     { C_ENUM(GST_STATE_READY), "GST_STATE_READY", "ready" },
356     { C_ENUM(GST_STATE_PAUSED), "GST_STATE_PAUSED", "paused" },
357     { C_ENUM(GST_STATE_PLAYING), "GST_STATE_PLAYING", "playing" },
358 { 0, NULL, NULL }
359         };
360         if (g_once_init_enter (&gtype_id)) {
361             GType new_type = g_enum_register_static (g_intern_static_string ("GstState"), values);
362             g_once_init_leave (&gtype_id, new_type);
363         }
364         return (GType) gtype_id;
365         }
366 
367 GType
gst_state_change_return_get_type(void)368 gst_state_change_return_get_type (void)
369 {
370 static gsize gtype_id = 0;
371 static const GEnumValue values[] = {
372     { C_ENUM(GST_STATE_CHANGE_FAILURE), "GST_STATE_CHANGE_FAILURE", "failure" },
373     { C_ENUM(GST_STATE_CHANGE_SUCCESS), "GST_STATE_CHANGE_SUCCESS", "success" },
374     { C_ENUM(GST_STATE_CHANGE_ASYNC), "GST_STATE_CHANGE_ASYNC", "async" },
375     { C_ENUM(GST_STATE_CHANGE_NO_PREROLL), "GST_STATE_CHANGE_NO_PREROLL", "no-preroll" },
376 { 0, NULL, NULL }
377         };
378         if (g_once_init_enter (&gtype_id)) {
379             GType new_type = g_enum_register_static (g_intern_static_string ("GstStateChangeReturn"), values);
380             g_once_init_leave (&gtype_id, new_type);
381         }
382         return (GType) gtype_id;
383         }
384 
385 GType
gst_state_change_get_type(void)386 gst_state_change_get_type (void)
387 {
388 static gsize gtype_id = 0;
389 static const GEnumValue values[] = {
390     { C_ENUM(GST_STATE_CHANGE_NULL_TO_READY), "GST_STATE_CHANGE_NULL_TO_READY", "null-to-ready" },
391     { C_ENUM(GST_STATE_CHANGE_READY_TO_PAUSED), "GST_STATE_CHANGE_READY_TO_PAUSED", "ready-to-paused" },
392     { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_PLAYING), "GST_STATE_CHANGE_PAUSED_TO_PLAYING", "paused-to-playing" },
393     { C_ENUM(GST_STATE_CHANGE_PLAYING_TO_PAUSED), "GST_STATE_CHANGE_PLAYING_TO_PAUSED", "playing-to-paused" },
394     { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_READY), "GST_STATE_CHANGE_PAUSED_TO_READY", "paused-to-ready" },
395     { C_ENUM(GST_STATE_CHANGE_READY_TO_NULL), "GST_STATE_CHANGE_READY_TO_NULL", "ready-to-null" },
396     { C_ENUM(GST_STATE_CHANGE_NULL_TO_NULL), "GST_STATE_CHANGE_NULL_TO_NULL", "null-to-null" },
397     { C_ENUM(GST_STATE_CHANGE_READY_TO_READY), "GST_STATE_CHANGE_READY_TO_READY", "ready-to-ready" },
398     { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_PAUSED), "GST_STATE_CHANGE_PAUSED_TO_PAUSED", "paused-to-paused" },
399     { C_ENUM(GST_STATE_CHANGE_PLAYING_TO_PLAYING), "GST_STATE_CHANGE_PLAYING_TO_PLAYING", "playing-to-playing" },
400 { 0, NULL, NULL }
401         };
402         if (g_once_init_enter (&gtype_id)) {
403             GType new_type = g_enum_register_static (g_intern_static_string ("GstStateChange"), values);
404             g_once_init_leave (&gtype_id, new_type);
405         }
406         return (GType) gtype_id;
407         }
408 
409 GType
gst_element_flags_get_type(void)410 gst_element_flags_get_type (void)
411 {
412 static gsize gtype_id = 0;
413 static const GFlagsValue values[] = {
414     { C_FLAGS(GST_ELEMENT_FLAG_LOCKED_STATE), "GST_ELEMENT_FLAG_LOCKED_STATE", "locked-state" },
415     { C_FLAGS(GST_ELEMENT_FLAG_SINK), "GST_ELEMENT_FLAG_SINK", "sink" },
416     { C_FLAGS(GST_ELEMENT_FLAG_SOURCE), "GST_ELEMENT_FLAG_SOURCE", "source" },
417     { C_FLAGS(GST_ELEMENT_FLAG_PROVIDE_CLOCK), "GST_ELEMENT_FLAG_PROVIDE_CLOCK", "provide-clock" },
418     { C_FLAGS(GST_ELEMENT_FLAG_REQUIRE_CLOCK), "GST_ELEMENT_FLAG_REQUIRE_CLOCK", "require-clock" },
419     { C_FLAGS(GST_ELEMENT_FLAG_INDEXABLE), "GST_ELEMENT_FLAG_INDEXABLE", "indexable" },
420     { C_FLAGS(GST_ELEMENT_FLAG_LAST), "GST_ELEMENT_FLAG_LAST", "last" },
421 { 0, NULL, NULL }
422         };
423         if (g_once_init_enter (&gtype_id)) {
424             GType new_type = g_flags_register_static (g_intern_static_string ("GstElementFlags"), values);
425             g_once_init_leave (&gtype_id, new_type);
426         }
427         return (GType) gtype_id;
428         }
429 
430 /* enumerations from "gsterror.h" */
431 
432 GType
gst_core_error_get_type(void)433 gst_core_error_get_type (void)
434 {
435 static gsize gtype_id = 0;
436 static const GEnumValue values[] = {
437     { C_ENUM(GST_CORE_ERROR_FAILED), "GST_CORE_ERROR_FAILED", "failed" },
438     { C_ENUM(GST_CORE_ERROR_TOO_LAZY), "GST_CORE_ERROR_TOO_LAZY", "too-lazy" },
439     { C_ENUM(GST_CORE_ERROR_NOT_IMPLEMENTED), "GST_CORE_ERROR_NOT_IMPLEMENTED", "not-implemented" },
440     { C_ENUM(GST_CORE_ERROR_STATE_CHANGE), "GST_CORE_ERROR_STATE_CHANGE", "state-change" },
441     { C_ENUM(GST_CORE_ERROR_PAD), "GST_CORE_ERROR_PAD", "pad" },
442     { C_ENUM(GST_CORE_ERROR_THREAD), "GST_CORE_ERROR_THREAD", "thread" },
443     { C_ENUM(GST_CORE_ERROR_NEGOTIATION), "GST_CORE_ERROR_NEGOTIATION", "negotiation" },
444     { C_ENUM(GST_CORE_ERROR_EVENT), "GST_CORE_ERROR_EVENT", "event" },
445     { C_ENUM(GST_CORE_ERROR_SEEK), "GST_CORE_ERROR_SEEK", "seek" },
446     { C_ENUM(GST_CORE_ERROR_CAPS), "GST_CORE_ERROR_CAPS", "caps" },
447     { C_ENUM(GST_CORE_ERROR_TAG), "GST_CORE_ERROR_TAG", "tag" },
448     { C_ENUM(GST_CORE_ERROR_MISSING_PLUGIN), "GST_CORE_ERROR_MISSING_PLUGIN", "missing-plugin" },
449     { C_ENUM(GST_CORE_ERROR_CLOCK), "GST_CORE_ERROR_CLOCK", "clock" },
450     { C_ENUM(GST_CORE_ERROR_DISABLED), "GST_CORE_ERROR_DISABLED", "disabled" },
451     { C_ENUM(GST_CORE_ERROR_NUM_ERRORS), "GST_CORE_ERROR_NUM_ERRORS", "num-errors" },
452 { 0, NULL, NULL }
453         };
454         if (g_once_init_enter (&gtype_id)) {
455             GType new_type = g_enum_register_static (g_intern_static_string ("GstCoreError"), values);
456             g_once_init_leave (&gtype_id, new_type);
457         }
458         return (GType) gtype_id;
459         }
460 
461 GType
gst_library_error_get_type(void)462 gst_library_error_get_type (void)
463 {
464 static gsize gtype_id = 0;
465 static const GEnumValue values[] = {
466     { C_ENUM(GST_LIBRARY_ERROR_FAILED), "GST_LIBRARY_ERROR_FAILED", "failed" },
467     { C_ENUM(GST_LIBRARY_ERROR_TOO_LAZY), "GST_LIBRARY_ERROR_TOO_LAZY", "too-lazy" },
468     { C_ENUM(GST_LIBRARY_ERROR_INIT), "GST_LIBRARY_ERROR_INIT", "init" },
469     { C_ENUM(GST_LIBRARY_ERROR_SHUTDOWN), "GST_LIBRARY_ERROR_SHUTDOWN", "shutdown" },
470     { C_ENUM(GST_LIBRARY_ERROR_SETTINGS), "GST_LIBRARY_ERROR_SETTINGS", "settings" },
471     { C_ENUM(GST_LIBRARY_ERROR_ENCODE), "GST_LIBRARY_ERROR_ENCODE", "encode" },
472     { C_ENUM(GST_LIBRARY_ERROR_NUM_ERRORS), "GST_LIBRARY_ERROR_NUM_ERRORS", "num-errors" },
473 { 0, NULL, NULL }
474         };
475         if (g_once_init_enter (&gtype_id)) {
476             GType new_type = g_enum_register_static (g_intern_static_string ("GstLibraryError"), values);
477             g_once_init_leave (&gtype_id, new_type);
478         }
479         return (GType) gtype_id;
480         }
481 
482 GType
gst_resource_error_get_type(void)483 gst_resource_error_get_type (void)
484 {
485 static gsize gtype_id = 0;
486 static const GEnumValue values[] = {
487     { C_ENUM(GST_RESOURCE_ERROR_FAILED), "GST_RESOURCE_ERROR_FAILED", "failed" },
488     { C_ENUM(GST_RESOURCE_ERROR_TOO_LAZY), "GST_RESOURCE_ERROR_TOO_LAZY", "too-lazy" },
489     { C_ENUM(GST_RESOURCE_ERROR_NOT_FOUND), "GST_RESOURCE_ERROR_NOT_FOUND", "not-found" },
490     { C_ENUM(GST_RESOURCE_ERROR_BUSY), "GST_RESOURCE_ERROR_BUSY", "busy" },
491     { C_ENUM(GST_RESOURCE_ERROR_OPEN_READ), "GST_RESOURCE_ERROR_OPEN_READ", "open-read" },
492     { C_ENUM(GST_RESOURCE_ERROR_OPEN_WRITE), "GST_RESOURCE_ERROR_OPEN_WRITE", "open-write" },
493     { C_ENUM(GST_RESOURCE_ERROR_OPEN_READ_WRITE), "GST_RESOURCE_ERROR_OPEN_READ_WRITE", "open-read-write" },
494     { C_ENUM(GST_RESOURCE_ERROR_CLOSE), "GST_RESOURCE_ERROR_CLOSE", "close" },
495     { C_ENUM(GST_RESOURCE_ERROR_READ), "GST_RESOURCE_ERROR_READ", "read" },
496     { C_ENUM(GST_RESOURCE_ERROR_WRITE), "GST_RESOURCE_ERROR_WRITE", "write" },
497     { C_ENUM(GST_RESOURCE_ERROR_SEEK), "GST_RESOURCE_ERROR_SEEK", "seek" },
498     { C_ENUM(GST_RESOURCE_ERROR_SYNC), "GST_RESOURCE_ERROR_SYNC", "sync" },
499     { C_ENUM(GST_RESOURCE_ERROR_SETTINGS), "GST_RESOURCE_ERROR_SETTINGS", "settings" },
500     { C_ENUM(GST_RESOURCE_ERROR_NO_SPACE_LEFT), "GST_RESOURCE_ERROR_NO_SPACE_LEFT", "no-space-left" },
501     { C_ENUM(GST_RESOURCE_ERROR_NOT_AUTHORIZED), "GST_RESOURCE_ERROR_NOT_AUTHORIZED", "not-authorized" },
502     { C_ENUM(GST_RESOURCE_ERROR_NUM_ERRORS), "GST_RESOURCE_ERROR_NUM_ERRORS", "num-errors" },
503 { 0, NULL, NULL }
504         };
505         if (g_once_init_enter (&gtype_id)) {
506             GType new_type = g_enum_register_static (g_intern_static_string ("GstResourceError"), values);
507             g_once_init_leave (&gtype_id, new_type);
508         }
509         return (GType) gtype_id;
510         }
511 
512 GType
gst_stream_error_get_type(void)513 gst_stream_error_get_type (void)
514 {
515 static gsize gtype_id = 0;
516 static const GEnumValue values[] = {
517     { C_ENUM(GST_STREAM_ERROR_FAILED), "GST_STREAM_ERROR_FAILED", "failed" },
518     { C_ENUM(GST_STREAM_ERROR_TOO_LAZY), "GST_STREAM_ERROR_TOO_LAZY", "too-lazy" },
519     { C_ENUM(GST_STREAM_ERROR_NOT_IMPLEMENTED), "GST_STREAM_ERROR_NOT_IMPLEMENTED", "not-implemented" },
520     { C_ENUM(GST_STREAM_ERROR_TYPE_NOT_FOUND), "GST_STREAM_ERROR_TYPE_NOT_FOUND", "type-not-found" },
521     { C_ENUM(GST_STREAM_ERROR_WRONG_TYPE), "GST_STREAM_ERROR_WRONG_TYPE", "wrong-type" },
522     { C_ENUM(GST_STREAM_ERROR_CODEC_NOT_FOUND), "GST_STREAM_ERROR_CODEC_NOT_FOUND", "codec-not-found" },
523     { C_ENUM(GST_STREAM_ERROR_DECODE), "GST_STREAM_ERROR_DECODE", "decode" },
524     { C_ENUM(GST_STREAM_ERROR_ENCODE), "GST_STREAM_ERROR_ENCODE", "encode" },
525     { C_ENUM(GST_STREAM_ERROR_DEMUX), "GST_STREAM_ERROR_DEMUX", "demux" },
526     { C_ENUM(GST_STREAM_ERROR_MUX), "GST_STREAM_ERROR_MUX", "mux" },
527     { C_ENUM(GST_STREAM_ERROR_FORMAT), "GST_STREAM_ERROR_FORMAT", "format" },
528     { C_ENUM(GST_STREAM_ERROR_DECRYPT), "GST_STREAM_ERROR_DECRYPT", "decrypt" },
529     { C_ENUM(GST_STREAM_ERROR_DECRYPT_NOKEY), "GST_STREAM_ERROR_DECRYPT_NOKEY", "decrypt-nokey" },
530     { C_ENUM(GST_STREAM_ERROR_NUM_ERRORS), "GST_STREAM_ERROR_NUM_ERRORS", "num-errors" },
531 { 0, NULL, NULL }
532         };
533         if (g_once_init_enter (&gtype_id)) {
534             GType new_type = g_enum_register_static (g_intern_static_string ("GstStreamError"), values);
535             g_once_init_leave (&gtype_id, new_type);
536         }
537         return (GType) gtype_id;
538         }
539 
540 /* enumerations from "gstevent.h" */
541 
542 GType
gst_event_type_flags_get_type(void)543 gst_event_type_flags_get_type (void)
544 {
545 static gsize gtype_id = 0;
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", "downstream" },
549     { C_FLAGS(GST_EVENT_TYPE_SERIALIZED), "GST_EVENT_TYPE_SERIALIZED", "serialized" },
550     { C_FLAGS(GST_EVENT_TYPE_STICKY), "GST_EVENT_TYPE_STICKY", "sticky" },
551     { C_FLAGS(GST_EVENT_TYPE_STICKY_MULTI), "GST_EVENT_TYPE_STICKY_MULTI", "sticky-multi" },
552 { 0, NULL, NULL }
553         };
554         if (g_once_init_enter (&gtype_id)) {
555             GType new_type = g_flags_register_static (g_intern_static_string ("GstEventTypeFlags"), values);
556             g_once_init_leave (&gtype_id, new_type);
557         }
558         return (GType) gtype_id;
559         }
560 
561 GType
gst_event_type_get_type(void)562 gst_event_type_get_type (void)
563 {
564 static gsize gtype_id = 0;
565 static const GEnumValue values[] = {
566     { C_ENUM(GST_EVENT_UNKNOWN), "GST_EVENT_UNKNOWN", "unknown" },
567     { C_ENUM(GST_EVENT_FLUSH_START), "GST_EVENT_FLUSH_START", "flush-start" },
568     { C_ENUM(GST_EVENT_FLUSH_STOP), "GST_EVENT_FLUSH_STOP", "flush-stop" },
569     { C_ENUM(GST_EVENT_STREAM_START), "GST_EVENT_STREAM_START", "stream-start" },
570     { C_ENUM(GST_EVENT_CAPS), "GST_EVENT_CAPS", "caps" },
571     { C_ENUM(GST_EVENT_SEGMENT), "GST_EVENT_SEGMENT", "segment" },
572     { C_ENUM(GST_EVENT_STREAM_COLLECTION), "GST_EVENT_STREAM_COLLECTION", "stream-collection" },
573     { C_ENUM(GST_EVENT_TAG), "GST_EVENT_TAG", "tag" },
574     { C_ENUM(GST_EVENT_BUFFERSIZE), "GST_EVENT_BUFFERSIZE", "buffersize" },
575     { C_ENUM(GST_EVENT_SINK_MESSAGE), "GST_EVENT_SINK_MESSAGE", "sink-message" },
576     { C_ENUM(GST_EVENT_STREAM_GROUP_DONE), "GST_EVENT_STREAM_GROUP_DONE", "stream-group-done" },
577     { C_ENUM(GST_EVENT_EOS), "GST_EVENT_EOS", "eos" },
578     { C_ENUM(GST_EVENT_TOC), "GST_EVENT_TOC", "toc" },
579     { C_ENUM(GST_EVENT_PROTECTION), "GST_EVENT_PROTECTION", "protection" },
580     { C_ENUM(GST_EVENT_SEGMENT_DONE), "GST_EVENT_SEGMENT_DONE", "segment-done" },
581     { C_ENUM(GST_EVENT_GAP), "GST_EVENT_GAP", "gap" },
582     { C_ENUM(GST_EVENT_INSTANT_RATE_CHANGE), "GST_EVENT_INSTANT_RATE_CHANGE", "instant-rate-change" },
583     { C_ENUM(GST_EVENT_QOS), "GST_EVENT_QOS", "qos" },
584     { C_ENUM(GST_EVENT_SEEK), "GST_EVENT_SEEK", "seek" },
585     { C_ENUM(GST_EVENT_NAVIGATION), "GST_EVENT_NAVIGATION", "navigation" },
586     { C_ENUM(GST_EVENT_LATENCY), "GST_EVENT_LATENCY", "latency" },
587     { C_ENUM(GST_EVENT_STEP), "GST_EVENT_STEP", "step" },
588     { C_ENUM(GST_EVENT_RECONFIGURE), "GST_EVENT_RECONFIGURE", "reconfigure" },
589     { C_ENUM(GST_EVENT_TOC_SELECT), "GST_EVENT_TOC_SELECT", "toc-select" },
590     { C_ENUM(GST_EVENT_SELECT_STREAMS), "GST_EVENT_SELECT_STREAMS", "select-streams" },
591     { C_ENUM(GST_EVENT_INSTANT_RATE_SYNC_TIME), "GST_EVENT_INSTANT_RATE_SYNC_TIME", "instant-rate-sync-time" },
592     { C_ENUM(GST_EVENT_CUSTOM_UPSTREAM), "GST_EVENT_CUSTOM_UPSTREAM", "custom-upstream" },
593     { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM), "GST_EVENT_CUSTOM_DOWNSTREAM", "custom-downstream" },
594     { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM_OOB), "GST_EVENT_CUSTOM_DOWNSTREAM_OOB", "custom-downstream-oob" },
595     { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM_STICKY), "GST_EVENT_CUSTOM_DOWNSTREAM_STICKY", "custom-downstream-sticky" },
596     { C_ENUM(GST_EVENT_CUSTOM_BOTH), "GST_EVENT_CUSTOM_BOTH", "custom-both" },
597     { C_ENUM(GST_EVENT_CUSTOM_BOTH_OOB), "GST_EVENT_CUSTOM_BOTH_OOB", "custom-both-oob" },
598 { 0, NULL, NULL }
599         };
600         if (g_once_init_enter (&gtype_id)) {
601             GType new_type = g_enum_register_static (g_intern_static_string ("GstEventType"), values);
602             g_once_init_leave (&gtype_id, new_type);
603         }
604         return (GType) gtype_id;
605         }
606 
607 GType
gst_stream_flags_get_type(void)608 gst_stream_flags_get_type (void)
609 {
610 static gsize gtype_id = 0;
611 static const GFlagsValue values[] = {
612     { C_FLAGS(GST_STREAM_FLAG_NONE), "GST_STREAM_FLAG_NONE", "none" },
613     { C_FLAGS(GST_STREAM_FLAG_SPARSE), "GST_STREAM_FLAG_SPARSE", "sparse" },
614     { C_FLAGS(GST_STREAM_FLAG_SELECT), "GST_STREAM_FLAG_SELECT", "select" },
615     { C_FLAGS(GST_STREAM_FLAG_UNSELECT), "GST_STREAM_FLAG_UNSELECT", "unselect" },
616 { 0, NULL, NULL }
617         };
618         if (g_once_init_enter (&gtype_id)) {
619             GType new_type = g_flags_register_static (g_intern_static_string ("GstStreamFlags"), values);
620             g_once_init_leave (&gtype_id, new_type);
621         }
622         return (GType) gtype_id;
623         }
624 
625 GType
gst_qos_type_get_type(void)626 gst_qos_type_get_type (void)
627 {
628 static gsize gtype_id = 0;
629 static const GEnumValue values[] = {
630     { C_ENUM(GST_QOS_TYPE_OVERFLOW), "GST_QOS_TYPE_OVERFLOW", "overflow" },
631     { C_ENUM(GST_QOS_TYPE_UNDERFLOW), "GST_QOS_TYPE_UNDERFLOW", "underflow" },
632     { C_ENUM(GST_QOS_TYPE_THROTTLE), "GST_QOS_TYPE_THROTTLE", "throttle" },
633 { 0, NULL, NULL }
634         };
635         if (g_once_init_enter (&gtype_id)) {
636             GType new_type = g_enum_register_static (g_intern_static_string ("GstQOSType"), values);
637             g_once_init_leave (&gtype_id, new_type);
638         }
639         return (GType) gtype_id;
640         }
641 
642 GType
gst_gap_flags_get_type(void)643 gst_gap_flags_get_type (void)
644 {
645 static gsize gtype_id = 0;
646 static const GFlagsValue values[] = {
647     { C_FLAGS(GST_GAP_FLAG_MISSING_DATA), "GST_GAP_FLAG_MISSING_DATA", "data" },
648 { 0, NULL, NULL }
649         };
650         if (g_once_init_enter (&gtype_id)) {
651             GType new_type = g_flags_register_static (g_intern_static_string ("GstGapFlags"), values);
652             g_once_init_leave (&gtype_id, new_type);
653         }
654         return (GType) gtype_id;
655         }
656 
657 /* enumerations from "gstformat.h" */
658 
659 GType
gst_format_get_type(void)660 gst_format_get_type (void)
661 {
662 static gsize gtype_id = 0;
663 static const GEnumValue values[] = {
664     { C_ENUM(GST_FORMAT_UNDEFINED), "GST_FORMAT_UNDEFINED", "undefined" },
665     { C_ENUM(GST_FORMAT_DEFAULT), "GST_FORMAT_DEFAULT", "default" },
666     { C_ENUM(GST_FORMAT_BYTES), "GST_FORMAT_BYTES", "bytes" },
667     { C_ENUM(GST_FORMAT_TIME), "GST_FORMAT_TIME", "time" },
668     { C_ENUM(GST_FORMAT_BUFFERS), "GST_FORMAT_BUFFERS", "buffers" },
669     { C_ENUM(GST_FORMAT_PERCENT), "GST_FORMAT_PERCENT", "percent" },
670 { 0, NULL, NULL }
671         };
672         if (g_once_init_enter (&gtype_id)) {
673             GType new_type = g_enum_register_static (g_intern_static_string ("GstFormat"), values);
674             g_once_init_leave (&gtype_id, new_type);
675         }
676         return (GType) gtype_id;
677         }
678 
679 /* enumerations from "gstinfo.h" */
680 
681 GType
gst_debug_level_get_type(void)682 gst_debug_level_get_type (void)
683 {
684 static gsize gtype_id = 0;
685 static const GEnumValue values[] = {
686     { C_ENUM(GST_LEVEL_NONE), "GST_LEVEL_NONE", "none" },
687     { C_ENUM(GST_LEVEL_ERROR), "GST_LEVEL_ERROR", "error" },
688     { C_ENUM(GST_LEVEL_WARNING), "GST_LEVEL_WARNING", "warning" },
689     { C_ENUM(GST_LEVEL_FIXME), "GST_LEVEL_FIXME", "fixme" },
690     { C_ENUM(GST_LEVEL_INFO), "GST_LEVEL_INFO", "info" },
691     { C_ENUM(GST_LEVEL_DEBUG), "GST_LEVEL_DEBUG", "debug" },
692     { C_ENUM(GST_LEVEL_LOG), "GST_LEVEL_LOG", "log" },
693     { C_ENUM(GST_LEVEL_TRACE), "GST_LEVEL_TRACE", "trace" },
694     { C_ENUM(GST_LEVEL_MEMDUMP), "GST_LEVEL_MEMDUMP", "memdump" },
695     { C_ENUM(GST_LEVEL_COUNT), "GST_LEVEL_COUNT", "count" },
696 { 0, NULL, NULL }
697         };
698         if (g_once_init_enter (&gtype_id)) {
699             GType new_type = g_enum_register_static (g_intern_static_string ("GstDebugLevel"), values);
700             g_once_init_leave (&gtype_id, new_type);
701         }
702         return (GType) gtype_id;
703         }
704 
705 GType
gst_debug_color_flags_get_type(void)706 gst_debug_color_flags_get_type (void)
707 {
708 static gsize gtype_id = 0;
709 static const GFlagsValue values[] = {
710     { C_FLAGS(GST_DEBUG_FG_BLACK), "GST_DEBUG_FG_BLACK", "fg-black" },
711     { C_FLAGS(GST_DEBUG_FG_RED), "GST_DEBUG_FG_RED", "fg-red" },
712     { C_FLAGS(GST_DEBUG_FG_GREEN), "GST_DEBUG_FG_GREEN", "fg-green" },
713     { C_FLAGS(GST_DEBUG_FG_YELLOW), "GST_DEBUG_FG_YELLOW", "fg-yellow" },
714     { C_FLAGS(GST_DEBUG_FG_BLUE), "GST_DEBUG_FG_BLUE", "fg-blue" },
715     { C_FLAGS(GST_DEBUG_FG_MAGENTA), "GST_DEBUG_FG_MAGENTA", "fg-magenta" },
716     { C_FLAGS(GST_DEBUG_FG_CYAN), "GST_DEBUG_FG_CYAN", "fg-cyan" },
717     { C_FLAGS(GST_DEBUG_FG_WHITE), "GST_DEBUG_FG_WHITE", "fg-white" },
718     { C_FLAGS(GST_DEBUG_BG_BLACK), "GST_DEBUG_BG_BLACK", "bg-black" },
719     { C_FLAGS(GST_DEBUG_BG_RED), "GST_DEBUG_BG_RED", "bg-red" },
720     { C_FLAGS(GST_DEBUG_BG_GREEN), "GST_DEBUG_BG_GREEN", "bg-green" },
721     { C_FLAGS(GST_DEBUG_BG_YELLOW), "GST_DEBUG_BG_YELLOW", "bg-yellow" },
722     { C_FLAGS(GST_DEBUG_BG_BLUE), "GST_DEBUG_BG_BLUE", "bg-blue" },
723     { C_FLAGS(GST_DEBUG_BG_MAGENTA), "GST_DEBUG_BG_MAGENTA", "bg-magenta" },
724     { C_FLAGS(GST_DEBUG_BG_CYAN), "GST_DEBUG_BG_CYAN", "bg-cyan" },
725     { C_FLAGS(GST_DEBUG_BG_WHITE), "GST_DEBUG_BG_WHITE", "bg-white" },
726     { C_FLAGS(GST_DEBUG_BOLD), "GST_DEBUG_BOLD", "bold" },
727     { C_FLAGS(GST_DEBUG_UNDERLINE), "GST_DEBUG_UNDERLINE", "underline" },
728 { 0, NULL, NULL }
729         };
730         if (g_once_init_enter (&gtype_id)) {
731             GType new_type = g_flags_register_static (g_intern_static_string ("GstDebugColorFlags"), values);
732             g_once_init_leave (&gtype_id, new_type);
733         }
734         return (GType) gtype_id;
735         }
736 
737 GType
gst_stack_trace_flags_get_type(void)738 gst_stack_trace_flags_get_type (void)
739 {
740 static gsize gtype_id = 0;
741 static const GFlagsValue values[] = {
742     { C_FLAGS(GST_STACK_TRACE_SHOW_NONE), "GST_STACK_TRACE_SHOW_NONE", "none" },
743     { C_FLAGS(GST_STACK_TRACE_SHOW_FULL), "GST_STACK_TRACE_SHOW_FULL", "full" },
744 { 0, NULL, NULL }
745         };
746         if (g_once_init_enter (&gtype_id)) {
747             GType new_type = g_flags_register_static (g_intern_static_string ("GstStackTraceFlags"), values);
748             g_once_init_leave (&gtype_id, new_type);
749         }
750         return (GType) gtype_id;
751         }
752 
753 GType
gst_debug_color_mode_get_type(void)754 gst_debug_color_mode_get_type (void)
755 {
756 static gsize gtype_id = 0;
757 static const GEnumValue values[] = {
758     { C_ENUM(GST_DEBUG_COLOR_MODE_OFF), "GST_DEBUG_COLOR_MODE_OFF", "off" },
759     { C_ENUM(GST_DEBUG_COLOR_MODE_ON), "GST_DEBUG_COLOR_MODE_ON", "on" },
760     { C_ENUM(GST_DEBUG_COLOR_MODE_UNIX), "GST_DEBUG_COLOR_MODE_UNIX", "unix" },
761 { 0, NULL, NULL }
762         };
763         if (g_once_init_enter (&gtype_id)) {
764             GType new_type = g_enum_register_static (g_intern_static_string ("GstDebugColorMode"), values);
765             g_once_init_leave (&gtype_id, new_type);
766         }
767         return (GType) gtype_id;
768         }
769 
770 /* enumerations from "gstiterator.h" */
771 
772 GType
gst_iterator_result_get_type(void)773 gst_iterator_result_get_type (void)
774 {
775 static gsize gtype_id = 0;
776 static const GEnumValue values[] = {
777     { C_ENUM(GST_ITERATOR_DONE), "GST_ITERATOR_DONE", "done" },
778     { C_ENUM(GST_ITERATOR_OK), "GST_ITERATOR_OK", "ok" },
779     { C_ENUM(GST_ITERATOR_RESYNC), "GST_ITERATOR_RESYNC", "resync" },
780     { C_ENUM(GST_ITERATOR_ERROR), "GST_ITERATOR_ERROR", "error" },
781 { 0, NULL, NULL }
782         };
783         if (g_once_init_enter (&gtype_id)) {
784             GType new_type = g_enum_register_static (g_intern_static_string ("GstIteratorResult"), values);
785             g_once_init_leave (&gtype_id, new_type);
786         }
787         return (GType) gtype_id;
788         }
789 
790 GType
gst_iterator_item_get_type(void)791 gst_iterator_item_get_type (void)
792 {
793 static gsize gtype_id = 0;
794 static const GEnumValue values[] = {
795     { C_ENUM(GST_ITERATOR_ITEM_SKIP), "GST_ITERATOR_ITEM_SKIP", "skip" },
796     { C_ENUM(GST_ITERATOR_ITEM_PASS), "GST_ITERATOR_ITEM_PASS", "pass" },
797     { C_ENUM(GST_ITERATOR_ITEM_END), "GST_ITERATOR_ITEM_END", "end" },
798 { 0, NULL, NULL }
799         };
800         if (g_once_init_enter (&gtype_id)) {
801             GType new_type = g_enum_register_static (g_intern_static_string ("GstIteratorItem"), values);
802             g_once_init_leave (&gtype_id, new_type);
803         }
804         return (GType) gtype_id;
805         }
806 
807 /* enumerations from "gstmemory.h" */
808 
809 GType
gst_memory_flags_get_type(void)810 gst_memory_flags_get_type (void)
811 {
812 static gsize gtype_id = 0;
813 static const GFlagsValue values[] = {
814     { C_FLAGS(GST_MEMORY_FLAG_READONLY), "GST_MEMORY_FLAG_READONLY", "readonly" },
815     { C_FLAGS(GST_MEMORY_FLAG_NO_SHARE), "GST_MEMORY_FLAG_NO_SHARE", "no-share" },
816     { C_FLAGS(GST_MEMORY_FLAG_ZERO_PREFIXED), "GST_MEMORY_FLAG_ZERO_PREFIXED", "zero-prefixed" },
817     { C_FLAGS(GST_MEMORY_FLAG_ZERO_PADDED), "GST_MEMORY_FLAG_ZERO_PADDED", "zero-padded" },
818     { C_FLAGS(GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS), "GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS", "physically-contiguous" },
819     { C_FLAGS(GST_MEMORY_FLAG_NOT_MAPPABLE), "GST_MEMORY_FLAG_NOT_MAPPABLE", "not-mappable" },
820     { C_FLAGS(GST_MEMORY_FLAG_LAST), "GST_MEMORY_FLAG_LAST", "last" },
821 { 0, NULL, NULL }
822         };
823         if (g_once_init_enter (&gtype_id)) {
824             GType new_type = g_flags_register_static (g_intern_static_string ("GstMemoryFlags"), values);
825             g_once_init_leave (&gtype_id, new_type);
826         }
827         return (GType) gtype_id;
828         }
829 
830 GType
gst_map_flags_get_type(void)831 gst_map_flags_get_type (void)
832 {
833 static gsize gtype_id = 0;
834 static const GFlagsValue values[] = {
835     { C_FLAGS(GST_MAP_READ), "GST_MAP_READ", "read" },
836     { C_FLAGS(GST_MAP_WRITE), "GST_MAP_WRITE", "write" },
837     { C_FLAGS(GST_MAP_FLAG_LAST), "GST_MAP_FLAG_LAST", "flag-last" },
838 { 0, NULL, NULL }
839         };
840         if (g_once_init_enter (&gtype_id)) {
841             GType new_type = g_flags_register_static (g_intern_static_string ("GstMapFlags"), values);
842             g_once_init_leave (&gtype_id, new_type);
843         }
844         return (GType) gtype_id;
845         }
846 
847 /* enumerations from "gstmessage.h" */
848 
849 GType
gst_message_type_get_type(void)850 gst_message_type_get_type (void)
851 {
852 static gsize gtype_id = 0;
853 static const GFlagsValue values[] = {
854     { C_FLAGS(GST_MESSAGE_UNKNOWN), "GST_MESSAGE_UNKNOWN", "unknown" },
855     { C_FLAGS(GST_MESSAGE_EOS), "GST_MESSAGE_EOS", "eos" },
856     { C_FLAGS(GST_MESSAGE_ERROR), "GST_MESSAGE_ERROR", "error" },
857     { C_FLAGS(GST_MESSAGE_WARNING), "GST_MESSAGE_WARNING", "warning" },
858     { C_FLAGS(GST_MESSAGE_INFO), "GST_MESSAGE_INFO", "info" },
859     { C_FLAGS(GST_MESSAGE_TAG), "GST_MESSAGE_TAG", "tag" },
860     { C_FLAGS(GST_MESSAGE_BUFFERING), "GST_MESSAGE_BUFFERING", "buffering" },
861     { C_FLAGS(GST_MESSAGE_STATE_CHANGED), "GST_MESSAGE_STATE_CHANGED", "state-changed" },
862     { C_FLAGS(GST_MESSAGE_STATE_DIRTY), "GST_MESSAGE_STATE_DIRTY", "state-dirty" },
863     { C_FLAGS(GST_MESSAGE_STEP_DONE), "GST_MESSAGE_STEP_DONE", "step-done" },
864     { C_FLAGS(GST_MESSAGE_CLOCK_PROVIDE), "GST_MESSAGE_CLOCK_PROVIDE", "clock-provide" },
865     { C_FLAGS(GST_MESSAGE_CLOCK_LOST), "GST_MESSAGE_CLOCK_LOST", "clock-lost" },
866     { C_FLAGS(GST_MESSAGE_NEW_CLOCK), "GST_MESSAGE_NEW_CLOCK", "new-clock" },
867     { C_FLAGS(GST_MESSAGE_STRUCTURE_CHANGE), "GST_MESSAGE_STRUCTURE_CHANGE", "structure-change" },
868     { C_FLAGS(GST_MESSAGE_STREAM_STATUS), "GST_MESSAGE_STREAM_STATUS", "stream-status" },
869     { C_FLAGS(GST_MESSAGE_APPLICATION), "GST_MESSAGE_APPLICATION", "application" },
870     { C_FLAGS(GST_MESSAGE_ELEMENT), "GST_MESSAGE_ELEMENT", "element" },
871     { C_FLAGS(GST_MESSAGE_SEGMENT_START), "GST_MESSAGE_SEGMENT_START", "segment-start" },
872     { C_FLAGS(GST_MESSAGE_SEGMENT_DONE), "GST_MESSAGE_SEGMENT_DONE", "segment-done" },
873     { C_FLAGS(GST_MESSAGE_DURATION_CHANGED), "GST_MESSAGE_DURATION_CHANGED", "duration-changed" },
874     { C_FLAGS(GST_MESSAGE_LATENCY), "GST_MESSAGE_LATENCY", "latency" },
875     { C_FLAGS(GST_MESSAGE_ASYNC_START), "GST_MESSAGE_ASYNC_START", "async-start" },
876     { C_FLAGS(GST_MESSAGE_ASYNC_DONE), "GST_MESSAGE_ASYNC_DONE", "async-done" },
877     { C_FLAGS(GST_MESSAGE_REQUEST_STATE), "GST_MESSAGE_REQUEST_STATE", "request-state" },
878     { C_FLAGS(GST_MESSAGE_STEP_START), "GST_MESSAGE_STEP_START", "step-start" },
879     { C_FLAGS(GST_MESSAGE_QOS), "GST_MESSAGE_QOS", "qos" },
880     { C_FLAGS(GST_MESSAGE_PROGRESS), "GST_MESSAGE_PROGRESS", "progress" },
881     { C_FLAGS(GST_MESSAGE_TOC), "GST_MESSAGE_TOC", "toc" },
882     { C_FLAGS(GST_MESSAGE_RESET_TIME), "GST_MESSAGE_RESET_TIME", "reset-time" },
883     { C_FLAGS(GST_MESSAGE_STREAM_START), "GST_MESSAGE_STREAM_START", "stream-start" },
884     { C_FLAGS(GST_MESSAGE_NEED_CONTEXT), "GST_MESSAGE_NEED_CONTEXT", "need-context" },
885     { C_FLAGS(GST_MESSAGE_HAVE_CONTEXT), "GST_MESSAGE_HAVE_CONTEXT", "have-context" },
886     { C_FLAGS(GST_MESSAGE_EXTENDED), "GST_MESSAGE_EXTENDED", "extended" },
887     { C_FLAGS(GST_MESSAGE_DEVICE_ADDED), "GST_MESSAGE_DEVICE_ADDED", "device-added" },
888     { C_FLAGS(GST_MESSAGE_DEVICE_REMOVED), "GST_MESSAGE_DEVICE_REMOVED", "device-removed" },
889     { C_FLAGS(GST_MESSAGE_PROPERTY_NOTIFY), "GST_MESSAGE_PROPERTY_NOTIFY", "property-notify" },
890     { C_FLAGS(GST_MESSAGE_STREAM_COLLECTION), "GST_MESSAGE_STREAM_COLLECTION", "stream-collection" },
891     { C_FLAGS(GST_MESSAGE_STREAMS_SELECTED), "GST_MESSAGE_STREAMS_SELECTED", "streams-selected" },
892     { C_FLAGS(GST_MESSAGE_REDIRECT), "GST_MESSAGE_REDIRECT", "redirect" },
893     { C_FLAGS(GST_MESSAGE_DEVICE_CHANGED), "GST_MESSAGE_DEVICE_CHANGED", "device-changed" },
894     { C_FLAGS(GST_MESSAGE_INSTANT_RATE_REQUEST), "GST_MESSAGE_INSTANT_RATE_REQUEST", "instant-rate-request" },
895     { C_FLAGS(GST_MESSAGE_ANY), "GST_MESSAGE_ANY", "any" },
896 { 0, NULL, NULL }
897         };
898         if (g_once_init_enter (&gtype_id)) {
899             GType new_type = g_flags_register_static (g_intern_static_string ("GstMessageType"), values);
900             g_once_init_leave (&gtype_id, new_type);
901         }
902         return (GType) gtype_id;
903         }
904 
905 GType
gst_structure_change_type_get_type(void)906 gst_structure_change_type_get_type (void)
907 {
908 static gsize gtype_id = 0;
909 static const GEnumValue values[] = {
910     { C_ENUM(GST_STRUCTURE_CHANGE_TYPE_PAD_LINK), "GST_STRUCTURE_CHANGE_TYPE_PAD_LINK", "link" },
911     { C_ENUM(GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK), "GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK", "unlink" },
912 { 0, NULL, NULL }
913         };
914         if (g_once_init_enter (&gtype_id)) {
915             GType new_type = g_enum_register_static (g_intern_static_string ("GstStructureChangeType"), values);
916             g_once_init_leave (&gtype_id, new_type);
917         }
918         return (GType) gtype_id;
919         }
920 
921 GType
gst_stream_status_type_get_type(void)922 gst_stream_status_type_get_type (void)
923 {
924 static gsize gtype_id = 0;
925 static const GEnumValue values[] = {
926     { C_ENUM(GST_STREAM_STATUS_TYPE_CREATE), "GST_STREAM_STATUS_TYPE_CREATE", "create" },
927     { C_ENUM(GST_STREAM_STATUS_TYPE_ENTER), "GST_STREAM_STATUS_TYPE_ENTER", "enter" },
928     { C_ENUM(GST_STREAM_STATUS_TYPE_LEAVE), "GST_STREAM_STATUS_TYPE_LEAVE", "leave" },
929     { C_ENUM(GST_STREAM_STATUS_TYPE_DESTROY), "GST_STREAM_STATUS_TYPE_DESTROY", "destroy" },
930     { C_ENUM(GST_STREAM_STATUS_TYPE_START), "GST_STREAM_STATUS_TYPE_START", "start" },
931     { C_ENUM(GST_STREAM_STATUS_TYPE_PAUSE), "GST_STREAM_STATUS_TYPE_PAUSE", "pause" },
932     { C_ENUM(GST_STREAM_STATUS_TYPE_STOP), "GST_STREAM_STATUS_TYPE_STOP", "stop" },
933 { 0, NULL, NULL }
934         };
935         if (g_once_init_enter (&gtype_id)) {
936             GType new_type = g_enum_register_static (g_intern_static_string ("GstStreamStatusType"), values);
937             g_once_init_leave (&gtype_id, new_type);
938         }
939         return (GType) gtype_id;
940         }
941 
942 GType
gst_progress_type_get_type(void)943 gst_progress_type_get_type (void)
944 {
945 static gsize gtype_id = 0;
946 static const GEnumValue values[] = {
947     { C_ENUM(GST_PROGRESS_TYPE_START), "GST_PROGRESS_TYPE_START", "start" },
948     { C_ENUM(GST_PROGRESS_TYPE_CONTINUE), "GST_PROGRESS_TYPE_CONTINUE", "continue" },
949     { C_ENUM(GST_PROGRESS_TYPE_COMPLETE), "GST_PROGRESS_TYPE_COMPLETE", "complete" },
950     { C_ENUM(GST_PROGRESS_TYPE_CANCELED), "GST_PROGRESS_TYPE_CANCELED", "canceled" },
951     { C_ENUM(GST_PROGRESS_TYPE_ERROR), "GST_PROGRESS_TYPE_ERROR", "error" },
952 { 0, NULL, NULL }
953         };
954         if (g_once_init_enter (&gtype_id)) {
955             GType new_type = g_enum_register_static (g_intern_static_string ("GstProgressType"), values);
956             g_once_init_leave (&gtype_id, new_type);
957         }
958         return (GType) gtype_id;
959         }
960 
961 /* enumerations from "gstmeta.h" */
962 
963 GType
gst_meta_flags_get_type(void)964 gst_meta_flags_get_type (void)
965 {
966 static gsize gtype_id = 0;
967 static const GFlagsValue values[] = {
968     { C_FLAGS(GST_META_FLAG_NONE), "GST_META_FLAG_NONE", "none" },
969     { C_FLAGS(GST_META_FLAG_READONLY), "GST_META_FLAG_READONLY", "readonly" },
970     { C_FLAGS(GST_META_FLAG_POOLED), "GST_META_FLAG_POOLED", "pooled" },
971     { C_FLAGS(GST_META_FLAG_LOCKED), "GST_META_FLAG_LOCKED", "locked" },
972     { C_FLAGS(GST_META_FLAG_LAST), "GST_META_FLAG_LAST", "last" },
973 { 0, NULL, NULL }
974         };
975         if (g_once_init_enter (&gtype_id)) {
976             GType new_type = g_flags_register_static (g_intern_static_string ("GstMetaFlags"), values);
977             g_once_init_leave (&gtype_id, new_type);
978         }
979         return (GType) gtype_id;
980         }
981 
982 /* enumerations from "gstminiobject.h" */
983 
984 GType
gst_mini_object_flags_get_type(void)985 gst_mini_object_flags_get_type (void)
986 {
987 static gsize gtype_id = 0;
988 static const GFlagsValue values[] = {
989     { C_FLAGS(GST_MINI_OBJECT_FLAG_LOCKABLE), "GST_MINI_OBJECT_FLAG_LOCKABLE", "lockable" },
990     { C_FLAGS(GST_MINI_OBJECT_FLAG_LOCK_READONLY), "GST_MINI_OBJECT_FLAG_LOCK_READONLY", "lock-readonly" },
991     { C_FLAGS(GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED), "GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED", "may-be-leaked" },
992     { C_FLAGS(GST_MINI_OBJECT_FLAG_LAST), "GST_MINI_OBJECT_FLAG_LAST", "last" },
993 { 0, NULL, NULL }
994         };
995         if (g_once_init_enter (&gtype_id)) {
996             GType new_type = g_flags_register_static (g_intern_static_string ("GstMiniObjectFlags"), values);
997             g_once_init_leave (&gtype_id, new_type);
998         }
999         return (GType) gtype_id;
1000         }
1001 
1002 GType
gst_lock_flags_get_type(void)1003 gst_lock_flags_get_type (void)
1004 {
1005 static gsize gtype_id = 0;
1006 static const GFlagsValue values[] = {
1007     { C_FLAGS(GST_LOCK_FLAG_READ), "GST_LOCK_FLAG_READ", "read" },
1008     { C_FLAGS(GST_LOCK_FLAG_WRITE), "GST_LOCK_FLAG_WRITE", "write" },
1009     { C_FLAGS(GST_LOCK_FLAG_EXCLUSIVE), "GST_LOCK_FLAG_EXCLUSIVE", "exclusive" },
1010     { C_FLAGS(GST_LOCK_FLAG_LAST), "GST_LOCK_FLAG_LAST", "last" },
1011 { 0, NULL, NULL }
1012         };
1013         if (g_once_init_enter (&gtype_id)) {
1014             GType new_type = g_flags_register_static (g_intern_static_string ("GstLockFlags"), values);
1015             g_once_init_leave (&gtype_id, new_type);
1016         }
1017         return (GType) gtype_id;
1018         }
1019 
1020 /* enumerations from "gstobject.h" */
1021 
1022 GType
gst_object_flags_get_type(void)1023 gst_object_flags_get_type (void)
1024 {
1025 static gsize gtype_id = 0;
1026 static const GFlagsValue values[] = {
1027     { C_FLAGS(GST_OBJECT_FLAG_MAY_BE_LEAKED), "GST_OBJECT_FLAG_MAY_BE_LEAKED", "may-be-leaked" },
1028     { C_FLAGS(GST_OBJECT_FLAG_LAST), "GST_OBJECT_FLAG_LAST", "last" },
1029 { 0, NULL, NULL }
1030         };
1031         if (g_once_init_enter (&gtype_id)) {
1032             GType new_type = g_flags_register_static (g_intern_static_string ("GstObjectFlags"), values);
1033             g_once_init_leave (&gtype_id, new_type);
1034         }
1035         return (GType) gtype_id;
1036         }
1037 
1038 /* enumerations from "gstpad.h" */
1039 
1040 GType
gst_pad_direction_get_type(void)1041 gst_pad_direction_get_type (void)
1042 {
1043 static gsize gtype_id = 0;
1044 static const GEnumValue values[] = {
1045     { C_ENUM(GST_PAD_UNKNOWN), "GST_PAD_UNKNOWN", "unknown" },
1046     { C_ENUM(GST_PAD_SRC), "GST_PAD_SRC", "src" },
1047     { C_ENUM(GST_PAD_SINK), "GST_PAD_SINK", "sink" },
1048 { 0, NULL, NULL }
1049         };
1050         if (g_once_init_enter (&gtype_id)) {
1051             GType new_type = g_enum_register_static (g_intern_static_string ("GstPadDirection"), values);
1052             g_once_init_leave (&gtype_id, new_type);
1053         }
1054         return (GType) gtype_id;
1055         }
1056 
1057 GType
gst_pad_mode_get_type(void)1058 gst_pad_mode_get_type (void)
1059 {
1060 static gsize gtype_id = 0;
1061 static const GEnumValue values[] = {
1062     { C_ENUM(GST_PAD_MODE_NONE), "GST_PAD_MODE_NONE", "none" },
1063     { C_ENUM(GST_PAD_MODE_PUSH), "GST_PAD_MODE_PUSH", "push" },
1064     { C_ENUM(GST_PAD_MODE_PULL), "GST_PAD_MODE_PULL", "pull" },
1065 { 0, NULL, NULL }
1066         };
1067         if (g_once_init_enter (&gtype_id)) {
1068             GType new_type = g_enum_register_static (g_intern_static_string ("GstPadMode"), values);
1069             g_once_init_leave (&gtype_id, new_type);
1070         }
1071         return (GType) gtype_id;
1072         }
1073 
1074 GType
gst_pad_link_return_get_type(void)1075 gst_pad_link_return_get_type (void)
1076 {
1077 static gsize gtype_id = 0;
1078 static const GEnumValue values[] = {
1079     { C_ENUM(GST_PAD_LINK_OK), "GST_PAD_LINK_OK", "ok" },
1080     { C_ENUM(GST_PAD_LINK_WRONG_HIERARCHY), "GST_PAD_LINK_WRONG_HIERARCHY", "wrong-hierarchy" },
1081     { C_ENUM(GST_PAD_LINK_WAS_LINKED), "GST_PAD_LINK_WAS_LINKED", "was-linked" },
1082     { C_ENUM(GST_PAD_LINK_WRONG_DIRECTION), "GST_PAD_LINK_WRONG_DIRECTION", "wrong-direction" },
1083     { C_ENUM(GST_PAD_LINK_NOFORMAT), "GST_PAD_LINK_NOFORMAT", "noformat" },
1084     { C_ENUM(GST_PAD_LINK_NOSCHED), "GST_PAD_LINK_NOSCHED", "nosched" },
1085     { C_ENUM(GST_PAD_LINK_REFUSED), "GST_PAD_LINK_REFUSED", "refused" },
1086 { 0, NULL, NULL }
1087         };
1088         if (g_once_init_enter (&gtype_id)) {
1089             GType new_type = g_enum_register_static (g_intern_static_string ("GstPadLinkReturn"), values);
1090             g_once_init_leave (&gtype_id, new_type);
1091         }
1092         return (GType) gtype_id;
1093         }
1094 
1095 GType
gst_flow_return_get_type(void)1096 gst_flow_return_get_type (void)
1097 {
1098 static gsize gtype_id = 0;
1099 static const GEnumValue values[] = {
1100     { C_ENUM(GST_FLOW_CUSTOM_SUCCESS_2), "GST_FLOW_CUSTOM_SUCCESS_2", "custom-success-2" },
1101     { C_ENUM(GST_FLOW_CUSTOM_SUCCESS_1), "GST_FLOW_CUSTOM_SUCCESS_1", "custom-success-1" },
1102     { C_ENUM(GST_FLOW_CUSTOM_SUCCESS), "GST_FLOW_CUSTOM_SUCCESS", "custom-success" },
1103     { C_ENUM(GST_FLOW_OK), "GST_FLOW_OK", "ok" },
1104     { C_ENUM(GST_FLOW_NOT_LINKED), "GST_FLOW_NOT_LINKED", "not-linked" },
1105     { C_ENUM(GST_FLOW_FLUSHING), "GST_FLOW_FLUSHING", "flushing" },
1106     { C_ENUM(GST_FLOW_EOS), "GST_FLOW_EOS", "eos" },
1107     { C_ENUM(GST_FLOW_NOT_NEGOTIATED), "GST_FLOW_NOT_NEGOTIATED", "not-negotiated" },
1108     { C_ENUM(GST_FLOW_ERROR), "GST_FLOW_ERROR", "error" },
1109     { C_ENUM(GST_FLOW_NOT_SUPPORTED), "GST_FLOW_NOT_SUPPORTED", "not-supported" },
1110     { C_ENUM(GST_FLOW_CUSTOM_ERROR), "GST_FLOW_CUSTOM_ERROR", "custom-error" },
1111     { C_ENUM(GST_FLOW_CUSTOM_ERROR_1), "GST_FLOW_CUSTOM_ERROR_1", "custom-error-1" },
1112     { C_ENUM(GST_FLOW_CUSTOM_ERROR_2), "GST_FLOW_CUSTOM_ERROR_2", "custom-error-2" },
1113 { 0, NULL, NULL }
1114         };
1115         if (g_once_init_enter (&gtype_id)) {
1116             GType new_type = g_enum_register_static (g_intern_static_string ("GstFlowReturn"), values);
1117             g_once_init_leave (&gtype_id, new_type);
1118         }
1119         return (GType) gtype_id;
1120         }
1121 
1122 GType
gst_pad_link_check_get_type(void)1123 gst_pad_link_check_get_type (void)
1124 {
1125 static gsize gtype_id = 0;
1126 static const GFlagsValue values[] = {
1127     { C_FLAGS(GST_PAD_LINK_CHECK_NOTHING), "GST_PAD_LINK_CHECK_NOTHING", "nothing" },
1128     { C_FLAGS(GST_PAD_LINK_CHECK_HIERARCHY), "GST_PAD_LINK_CHECK_HIERARCHY", "hierarchy" },
1129     { C_FLAGS(GST_PAD_LINK_CHECK_TEMPLATE_CAPS), "GST_PAD_LINK_CHECK_TEMPLATE_CAPS", "template-caps" },
1130     { C_FLAGS(GST_PAD_LINK_CHECK_CAPS), "GST_PAD_LINK_CHECK_CAPS", "caps" },
1131     { C_FLAGS(GST_PAD_LINK_CHECK_NO_RECONFIGURE), "GST_PAD_LINK_CHECK_NO_RECONFIGURE", "no-reconfigure" },
1132     { C_FLAGS(GST_PAD_LINK_CHECK_DEFAULT), "GST_PAD_LINK_CHECK_DEFAULT", "default" },
1133 { 0, NULL, NULL }
1134         };
1135         if (g_once_init_enter (&gtype_id)) {
1136             GType new_type = g_flags_register_static (g_intern_static_string ("GstPadLinkCheck"), values);
1137             g_once_init_leave (&gtype_id, new_type);
1138         }
1139         return (GType) gtype_id;
1140         }
1141 
1142 GType
gst_pad_probe_type_get_type(void)1143 gst_pad_probe_type_get_type (void)
1144 {
1145 static gsize gtype_id = 0;
1146 static const GFlagsValue values[] = {
1147     { C_FLAGS(GST_PAD_PROBE_TYPE_INVALID), "GST_PAD_PROBE_TYPE_INVALID", "invalid" },
1148     { C_FLAGS(GST_PAD_PROBE_TYPE_IDLE), "GST_PAD_PROBE_TYPE_IDLE", "idle" },
1149     { C_FLAGS(GST_PAD_PROBE_TYPE_BLOCK), "GST_PAD_PROBE_TYPE_BLOCK", "block" },
1150     { C_FLAGS(GST_PAD_PROBE_TYPE_BUFFER), "GST_PAD_PROBE_TYPE_BUFFER", "buffer" },
1151     { C_FLAGS(GST_PAD_PROBE_TYPE_BUFFER_LIST), "GST_PAD_PROBE_TYPE_BUFFER_LIST", "buffer-list" },
1152     { C_FLAGS(GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM), "GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM", "event-downstream" },
1153     { C_FLAGS(GST_PAD_PROBE_TYPE_EVENT_UPSTREAM), "GST_PAD_PROBE_TYPE_EVENT_UPSTREAM", "event-upstream" },
1154     { C_FLAGS(GST_PAD_PROBE_TYPE_EVENT_FLUSH), "GST_PAD_PROBE_TYPE_EVENT_FLUSH", "event-flush" },
1155     { C_FLAGS(GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM), "GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM", "query-downstream" },
1156     { C_FLAGS(GST_PAD_PROBE_TYPE_QUERY_UPSTREAM), "GST_PAD_PROBE_TYPE_QUERY_UPSTREAM", "query-upstream" },
1157     { C_FLAGS(GST_PAD_PROBE_TYPE_PUSH), "GST_PAD_PROBE_TYPE_PUSH", "push" },
1158     { C_FLAGS(GST_PAD_PROBE_TYPE_PULL), "GST_PAD_PROBE_TYPE_PULL", "pull" },
1159     { C_FLAGS(GST_PAD_PROBE_TYPE_BLOCKING), "GST_PAD_PROBE_TYPE_BLOCKING", "blocking" },
1160     { C_FLAGS(GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM), "GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM", "data-downstream" },
1161     { C_FLAGS(GST_PAD_PROBE_TYPE_DATA_UPSTREAM), "GST_PAD_PROBE_TYPE_DATA_UPSTREAM", "data-upstream" },
1162     { C_FLAGS(GST_PAD_PROBE_TYPE_DATA_BOTH), "GST_PAD_PROBE_TYPE_DATA_BOTH", "data-both" },
1163     { C_FLAGS(GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM), "GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM", "block-downstream" },
1164     { C_FLAGS(GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM), "GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM", "block-upstream" },
1165     { C_FLAGS(GST_PAD_PROBE_TYPE_EVENT_BOTH), "GST_PAD_PROBE_TYPE_EVENT_BOTH", "event-both" },
1166     { C_FLAGS(GST_PAD_PROBE_TYPE_QUERY_BOTH), "GST_PAD_PROBE_TYPE_QUERY_BOTH", "query-both" },
1167     { C_FLAGS(GST_PAD_PROBE_TYPE_ALL_BOTH), "GST_PAD_PROBE_TYPE_ALL_BOTH", "all-both" },
1168     { C_FLAGS(GST_PAD_PROBE_TYPE_SCHEDULING), "GST_PAD_PROBE_TYPE_SCHEDULING", "scheduling" },
1169 { 0, NULL, NULL }
1170         };
1171         if (g_once_init_enter (&gtype_id)) {
1172             GType new_type = g_flags_register_static (g_intern_static_string ("GstPadProbeType"), values);
1173             g_once_init_leave (&gtype_id, new_type);
1174         }
1175         return (GType) gtype_id;
1176         }
1177 
1178 GType
gst_pad_probe_return_get_type(void)1179 gst_pad_probe_return_get_type (void)
1180 {
1181 static gsize gtype_id = 0;
1182 static const GEnumValue values[] = {
1183     { C_ENUM(GST_PAD_PROBE_DROP), "GST_PAD_PROBE_DROP", "drop" },
1184     { C_ENUM(GST_PAD_PROBE_OK), "GST_PAD_PROBE_OK", "ok" },
1185     { C_ENUM(GST_PAD_PROBE_REMOVE), "GST_PAD_PROBE_REMOVE", "remove" },
1186     { C_ENUM(GST_PAD_PROBE_PASS), "GST_PAD_PROBE_PASS", "pass" },
1187     { C_ENUM(GST_PAD_PROBE_HANDLED), "GST_PAD_PROBE_HANDLED", "handled" },
1188 { 0, NULL, NULL }
1189         };
1190         if (g_once_init_enter (&gtype_id)) {
1191             GType new_type = g_enum_register_static (g_intern_static_string ("GstPadProbeReturn"), values);
1192             g_once_init_leave (&gtype_id, new_type);
1193         }
1194         return (GType) gtype_id;
1195         }
1196 
1197 GType
gst_pad_flags_get_type(void)1198 gst_pad_flags_get_type (void)
1199 {
1200 static gsize gtype_id = 0;
1201 static const GFlagsValue values[] = {
1202     { C_FLAGS(GST_PAD_FLAG_BLOCKED), "GST_PAD_FLAG_BLOCKED", "blocked" },
1203     { C_FLAGS(GST_PAD_FLAG_FLUSHING), "GST_PAD_FLAG_FLUSHING", "flushing" },
1204     { C_FLAGS(GST_PAD_FLAG_EOS), "GST_PAD_FLAG_EOS", "eos" },
1205     { C_FLAGS(GST_PAD_FLAG_BLOCKING), "GST_PAD_FLAG_BLOCKING", "blocking" },
1206     { C_FLAGS(GST_PAD_FLAG_NEED_PARENT), "GST_PAD_FLAG_NEED_PARENT", "need-parent" },
1207     { C_FLAGS(GST_PAD_FLAG_NEED_RECONFIGURE), "GST_PAD_FLAG_NEED_RECONFIGURE", "need-reconfigure" },
1208     { C_FLAGS(GST_PAD_FLAG_PENDING_EVENTS), "GST_PAD_FLAG_PENDING_EVENTS", "pending-events" },
1209     { C_FLAGS(GST_PAD_FLAG_FIXED_CAPS), "GST_PAD_FLAG_FIXED_CAPS", "fixed-caps" },
1210     { C_FLAGS(GST_PAD_FLAG_PROXY_CAPS), "GST_PAD_FLAG_PROXY_CAPS", "proxy-caps" },
1211     { C_FLAGS(GST_PAD_FLAG_PROXY_ALLOCATION), "GST_PAD_FLAG_PROXY_ALLOCATION", "proxy-allocation" },
1212     { C_FLAGS(GST_PAD_FLAG_PROXY_SCHEDULING), "GST_PAD_FLAG_PROXY_SCHEDULING", "proxy-scheduling" },
1213     { C_FLAGS(GST_PAD_FLAG_ACCEPT_INTERSECT), "GST_PAD_FLAG_ACCEPT_INTERSECT", "accept-intersect" },
1214     { C_FLAGS(GST_PAD_FLAG_ACCEPT_TEMPLATE), "GST_PAD_FLAG_ACCEPT_TEMPLATE", "accept-template" },
1215     { C_FLAGS(GST_PAD_FLAG_LAST), "GST_PAD_FLAG_LAST", "last" },
1216 { 0, NULL, NULL }
1217         };
1218         if (g_once_init_enter (&gtype_id)) {
1219             GType new_type = g_flags_register_static (g_intern_static_string ("GstPadFlags"), values);
1220             g_once_init_leave (&gtype_id, new_type);
1221         }
1222         return (GType) gtype_id;
1223         }
1224 
1225 /* enumerations from "gstpadtemplate.h" */
1226 
1227 GType
gst_pad_presence_get_type(void)1228 gst_pad_presence_get_type (void)
1229 {
1230 static gsize gtype_id = 0;
1231 static const GEnumValue values[] = {
1232     { C_ENUM(GST_PAD_ALWAYS), "GST_PAD_ALWAYS", "always" },
1233     { C_ENUM(GST_PAD_SOMETIMES), "GST_PAD_SOMETIMES", "sometimes" },
1234     { C_ENUM(GST_PAD_REQUEST), "GST_PAD_REQUEST", "request" },
1235 { 0, NULL, NULL }
1236         };
1237         if (g_once_init_enter (&gtype_id)) {
1238             GType new_type = g_enum_register_static (g_intern_static_string ("GstPadPresence"), values);
1239             g_once_init_leave (&gtype_id, new_type);
1240         }
1241         return (GType) gtype_id;
1242         }
1243 
1244 GType
gst_pad_template_flags_get_type(void)1245 gst_pad_template_flags_get_type (void)
1246 {
1247 static gsize gtype_id = 0;
1248 static const GFlagsValue values[] = {
1249     { C_FLAGS(GST_PAD_TEMPLATE_FLAG_LAST), "GST_PAD_TEMPLATE_FLAG_LAST", "last" },
1250 { 0, NULL, NULL }
1251         };
1252         if (g_once_init_enter (&gtype_id)) {
1253             GType new_type = g_flags_register_static (g_intern_static_string ("GstPadTemplateFlags"), values);
1254             g_once_init_leave (&gtype_id, new_type);
1255         }
1256         return (GType) gtype_id;
1257         }
1258 
1259 /* enumerations from "gstparse.h" */
1260 
1261 GType
gst_parse_error_get_type(void)1262 gst_parse_error_get_type (void)
1263 {
1264 static gsize gtype_id = 0;
1265 static const GEnumValue values[] = {
1266     { C_ENUM(GST_PARSE_ERROR_SYNTAX), "GST_PARSE_ERROR_SYNTAX", "syntax" },
1267     { C_ENUM(GST_PARSE_ERROR_NO_SUCH_ELEMENT), "GST_PARSE_ERROR_NO_SUCH_ELEMENT", "no-such-element" },
1268     { C_ENUM(GST_PARSE_ERROR_NO_SUCH_PROPERTY), "GST_PARSE_ERROR_NO_SUCH_PROPERTY", "no-such-property" },
1269     { C_ENUM(GST_PARSE_ERROR_LINK), "GST_PARSE_ERROR_LINK", "link" },
1270     { C_ENUM(GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY), "GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property" },
1271     { C_ENUM(GST_PARSE_ERROR_EMPTY_BIN), "GST_PARSE_ERROR_EMPTY_BIN", "empty-bin" },
1272     { C_ENUM(GST_PARSE_ERROR_EMPTY), "GST_PARSE_ERROR_EMPTY", "empty" },
1273     { C_ENUM(GST_PARSE_ERROR_DELAYED_LINK), "GST_PARSE_ERROR_DELAYED_LINK", "delayed-link" },
1274 { 0, NULL, NULL }
1275         };
1276         if (g_once_init_enter (&gtype_id)) {
1277             GType new_type = g_enum_register_static (g_intern_static_string ("GstParseError"), values);
1278             g_once_init_leave (&gtype_id, new_type);
1279         }
1280         return (GType) gtype_id;
1281         }
1282 
1283 GType
gst_parse_flags_get_type(void)1284 gst_parse_flags_get_type (void)
1285 {
1286 static gsize gtype_id = 0;
1287 static const GFlagsValue values[] = {
1288     { C_FLAGS(GST_PARSE_FLAG_NONE), "GST_PARSE_FLAG_NONE", "none" },
1289     { C_FLAGS(GST_PARSE_FLAG_FATAL_ERRORS), "GST_PARSE_FLAG_FATAL_ERRORS", "fatal-errors" },
1290     { C_FLAGS(GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS), "GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS", "no-single-element-bins" },
1291     { C_FLAGS(GST_PARSE_FLAG_PLACE_IN_BIN), "GST_PARSE_FLAG_PLACE_IN_BIN", "place-in-bin" },
1292 { 0, NULL, NULL }
1293         };
1294         if (g_once_init_enter (&gtype_id)) {
1295             GType new_type = g_flags_register_static (g_intern_static_string ("GstParseFlags"), values);
1296             g_once_init_leave (&gtype_id, new_type);
1297         }
1298         return (GType) gtype_id;
1299         }
1300 
1301 /* enumerations from "gstpipeline.h" */
1302 
1303 GType
gst_pipeline_flags_get_type(void)1304 gst_pipeline_flags_get_type (void)
1305 {
1306 static gsize gtype_id = 0;
1307 static const GFlagsValue values[] = {
1308     { C_FLAGS(GST_PIPELINE_FLAG_FIXED_CLOCK), "GST_PIPELINE_FLAG_FIXED_CLOCK", "fixed-clock" },
1309     { C_FLAGS(GST_PIPELINE_FLAG_LAST), "GST_PIPELINE_FLAG_LAST", "last" },
1310 { 0, NULL, NULL }
1311         };
1312         if (g_once_init_enter (&gtype_id)) {
1313             GType new_type = g_flags_register_static (g_intern_static_string ("GstPipelineFlags"), values);
1314             g_once_init_leave (&gtype_id, new_type);
1315         }
1316         return (GType) gtype_id;
1317         }
1318 
1319 /* enumerations from "gstplugin.h" */
1320 
1321 GType
gst_plugin_error_get_type(void)1322 gst_plugin_error_get_type (void)
1323 {
1324 static gsize gtype_id = 0;
1325 static const GEnumValue values[] = {
1326     { C_ENUM(GST_PLUGIN_ERROR_MODULE), "GST_PLUGIN_ERROR_MODULE", "module" },
1327     { C_ENUM(GST_PLUGIN_ERROR_DEPENDENCIES), "GST_PLUGIN_ERROR_DEPENDENCIES", "dependencies" },
1328     { C_ENUM(GST_PLUGIN_ERROR_NAME_MISMATCH), "GST_PLUGIN_ERROR_NAME_MISMATCH", "name-mismatch" },
1329 { 0, NULL, NULL }
1330         };
1331         if (g_once_init_enter (&gtype_id)) {
1332             GType new_type = g_enum_register_static (g_intern_static_string ("GstPluginError"), values);
1333             g_once_init_leave (&gtype_id, new_type);
1334         }
1335         return (GType) gtype_id;
1336         }
1337 
1338 GType
gst_plugin_flags_get_type(void)1339 gst_plugin_flags_get_type (void)
1340 {
1341 static gsize gtype_id = 0;
1342 static const GFlagsValue values[] = {
1343     { C_FLAGS(GST_PLUGIN_FLAG_CACHED), "GST_PLUGIN_FLAG_CACHED", "cached" },
1344     { C_FLAGS(GST_PLUGIN_FLAG_BLACKLISTED), "GST_PLUGIN_FLAG_BLACKLISTED", "blacklisted" },
1345 { 0, NULL, NULL }
1346         };
1347         if (g_once_init_enter (&gtype_id)) {
1348             GType new_type = g_flags_register_static (g_intern_static_string ("GstPluginFlags"), values);
1349             g_once_init_leave (&gtype_id, new_type);
1350         }
1351         return (GType) gtype_id;
1352         }
1353 
1354 GType
gst_plugin_dependency_flags_get_type(void)1355 gst_plugin_dependency_flags_get_type (void)
1356 {
1357 static gsize gtype_id = 0;
1358 static const GFlagsValue values[] = {
1359     { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_NONE), "GST_PLUGIN_DEPENDENCY_FLAG_NONE", "none" },
1360     { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_RECURSE), "GST_PLUGIN_DEPENDENCY_FLAG_RECURSE", "recurse" },
1361     { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY), "GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY", "paths-are-default-only" },
1362     { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX), "GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX", "file-name-is-suffix" },
1363     { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX), "GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX", "file-name-is-prefix" },
1364     { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE), "GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE", "paths-are-relative-to-exe" },
1365 { 0, NULL, NULL }
1366         };
1367         if (g_once_init_enter (&gtype_id)) {
1368             GType new_type = g_flags_register_static (g_intern_static_string ("GstPluginDependencyFlags"), values);
1369             g_once_init_leave (&gtype_id, new_type);
1370         }
1371         return (GType) gtype_id;
1372         }
1373 
1374 /* enumerations from "gstpluginfeature.h" */
1375 
1376 GType
gst_rank_get_type(void)1377 gst_rank_get_type (void)
1378 {
1379 static gsize gtype_id = 0;
1380 static const GEnumValue values[] = {
1381     { C_ENUM(GST_RANK_NONE), "GST_RANK_NONE", "none" },
1382     { C_ENUM(GST_RANK_MARGINAL), "GST_RANK_MARGINAL", "marginal" },
1383     { C_ENUM(GST_RANK_SECONDARY), "GST_RANK_SECONDARY", "secondary" },
1384     { C_ENUM(GST_RANK_PRIMARY), "GST_RANK_PRIMARY", "primary" },
1385 { 0, NULL, NULL }
1386         };
1387         if (g_once_init_enter (&gtype_id)) {
1388             GType new_type = g_enum_register_static (g_intern_static_string ("GstRank"), values);
1389             g_once_init_leave (&gtype_id, new_type);
1390         }
1391         return (GType) gtype_id;
1392         }
1393 
1394 /* enumerations from "gstpromise.h" */
1395 
1396 GType
gst_promise_result_get_type(void)1397 gst_promise_result_get_type (void)
1398 {
1399 static gsize gtype_id = 0;
1400 static const GEnumValue values[] = {
1401     { C_ENUM(GST_PROMISE_RESULT_PENDING), "GST_PROMISE_RESULT_PENDING", "pending" },
1402     { C_ENUM(GST_PROMISE_RESULT_INTERRUPTED), "GST_PROMISE_RESULT_INTERRUPTED", "interrupted" },
1403     { C_ENUM(GST_PROMISE_RESULT_REPLIED), "GST_PROMISE_RESULT_REPLIED", "replied" },
1404     { C_ENUM(GST_PROMISE_RESULT_EXPIRED), "GST_PROMISE_RESULT_EXPIRED", "expired" },
1405 { 0, NULL, NULL }
1406         };
1407         if (g_once_init_enter (&gtype_id)) {
1408             GType new_type = g_enum_register_static (g_intern_static_string ("GstPromiseResult"), values);
1409             g_once_init_leave (&gtype_id, new_type);
1410         }
1411         return (GType) gtype_id;
1412         }
1413 
1414 /* enumerations from "gstquery.h" */
1415 
1416 GType
gst_query_type_flags_get_type(void)1417 gst_query_type_flags_get_type (void)
1418 {
1419 static gsize gtype_id = 0;
1420 static const GFlagsValue values[] = {
1421     { C_FLAGS(GST_QUERY_TYPE_UPSTREAM), "GST_QUERY_TYPE_UPSTREAM", "upstream" },
1422     { C_FLAGS(GST_QUERY_TYPE_DOWNSTREAM), "GST_QUERY_TYPE_DOWNSTREAM", "downstream" },
1423     { C_FLAGS(GST_QUERY_TYPE_SERIALIZED), "GST_QUERY_TYPE_SERIALIZED", "serialized" },
1424 { 0, NULL, NULL }
1425         };
1426         if (g_once_init_enter (&gtype_id)) {
1427             GType new_type = g_flags_register_static (g_intern_static_string ("GstQueryTypeFlags"), values);
1428             g_once_init_leave (&gtype_id, new_type);
1429         }
1430         return (GType) gtype_id;
1431         }
1432 
1433 GType
gst_query_type_get_type(void)1434 gst_query_type_get_type (void)
1435 {
1436 static gsize gtype_id = 0;
1437 static const GEnumValue values[] = {
1438     { C_ENUM(GST_QUERY_UNKNOWN), "GST_QUERY_UNKNOWN", "unknown" },
1439     { C_ENUM(GST_QUERY_POSITION), "GST_QUERY_POSITION", "position" },
1440     { C_ENUM(GST_QUERY_DURATION), "GST_QUERY_DURATION", "duration" },
1441     { C_ENUM(GST_QUERY_LATENCY), "GST_QUERY_LATENCY", "latency" },
1442     { C_ENUM(GST_QUERY_JITTER), "GST_QUERY_JITTER", "jitter" },
1443     { C_ENUM(GST_QUERY_RATE), "GST_QUERY_RATE", "rate" },
1444     { C_ENUM(GST_QUERY_SEEKING), "GST_QUERY_SEEKING", "seeking" },
1445     { C_ENUM(GST_QUERY_SEGMENT), "GST_QUERY_SEGMENT", "segment" },
1446     { C_ENUM(GST_QUERY_CONVERT), "GST_QUERY_CONVERT", "convert" },
1447     { C_ENUM(GST_QUERY_FORMATS), "GST_QUERY_FORMATS", "formats" },
1448     { C_ENUM(GST_QUERY_BUFFERING), "GST_QUERY_BUFFERING", "buffering" },
1449     { C_ENUM(GST_QUERY_CUSTOM), "GST_QUERY_CUSTOM", "custom" },
1450     { C_ENUM(GST_QUERY_URI), "GST_QUERY_URI", "uri" },
1451     { C_ENUM(GST_QUERY_ALLOCATION), "GST_QUERY_ALLOCATION", "allocation" },
1452     { C_ENUM(GST_QUERY_SCHEDULING), "GST_QUERY_SCHEDULING", "scheduling" },
1453     { C_ENUM(GST_QUERY_ACCEPT_CAPS), "GST_QUERY_ACCEPT_CAPS", "accept-caps" },
1454     { C_ENUM(GST_QUERY_CAPS), "GST_QUERY_CAPS", "caps" },
1455     { C_ENUM(GST_QUERY_DRAIN), "GST_QUERY_DRAIN", "drain" },
1456     { C_ENUM(GST_QUERY_CONTEXT), "GST_QUERY_CONTEXT", "context" },
1457     { C_ENUM(GST_QUERY_BITRATE), "GST_QUERY_BITRATE", "bitrate" },
1458 { 0, NULL, NULL }
1459         };
1460         if (g_once_init_enter (&gtype_id)) {
1461             GType new_type = g_enum_register_static (g_intern_static_string ("GstQueryType"), values);
1462             g_once_init_leave (&gtype_id, new_type);
1463         }
1464         return (GType) gtype_id;
1465         }
1466 
1467 GType
gst_buffering_mode_get_type(void)1468 gst_buffering_mode_get_type (void)
1469 {
1470 static gsize gtype_id = 0;
1471 static const GEnumValue values[] = {
1472     { C_ENUM(GST_BUFFERING_STREAM), "GST_BUFFERING_STREAM", "stream" },
1473     { C_ENUM(GST_BUFFERING_DOWNLOAD), "GST_BUFFERING_DOWNLOAD", "download" },
1474     { C_ENUM(GST_BUFFERING_TIMESHIFT), "GST_BUFFERING_TIMESHIFT", "timeshift" },
1475     { C_ENUM(GST_BUFFERING_LIVE), "GST_BUFFERING_LIVE", "live" },
1476 { 0, NULL, NULL }
1477         };
1478         if (g_once_init_enter (&gtype_id)) {
1479             GType new_type = g_enum_register_static (g_intern_static_string ("GstBufferingMode"), values);
1480             g_once_init_leave (&gtype_id, new_type);
1481         }
1482         return (GType) gtype_id;
1483         }
1484 
1485 GType
gst_scheduling_flags_get_type(void)1486 gst_scheduling_flags_get_type (void)
1487 {
1488 static gsize gtype_id = 0;
1489 static const GFlagsValue values[] = {
1490     { C_FLAGS(GST_SCHEDULING_FLAG_SEEKABLE), "GST_SCHEDULING_FLAG_SEEKABLE", "seekable" },
1491     { C_FLAGS(GST_SCHEDULING_FLAG_SEQUENTIAL), "GST_SCHEDULING_FLAG_SEQUENTIAL", "sequential" },
1492     { C_FLAGS(GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED), "GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED", "bandwidth-limited" },
1493 { 0, NULL, NULL }
1494         };
1495         if (g_once_init_enter (&gtype_id)) {
1496             GType new_type = g_flags_register_static (g_intern_static_string ("GstSchedulingFlags"), values);
1497             g_once_init_leave (&gtype_id, new_type);
1498         }
1499         return (GType) gtype_id;
1500         }
1501 
1502 /* enumerations from "gstsegment.h" */
1503 
1504 GType
gst_seek_type_get_type(void)1505 gst_seek_type_get_type (void)
1506 {
1507 static gsize gtype_id = 0;
1508 static const GEnumValue values[] = {
1509     { C_ENUM(GST_SEEK_TYPE_NONE), "GST_SEEK_TYPE_NONE", "none" },
1510     { C_ENUM(GST_SEEK_TYPE_SET), "GST_SEEK_TYPE_SET", "set" },
1511     { C_ENUM(GST_SEEK_TYPE_END), "GST_SEEK_TYPE_END", "end" },
1512 { 0, NULL, NULL }
1513         };
1514         if (g_once_init_enter (&gtype_id)) {
1515             GType new_type = g_enum_register_static (g_intern_static_string ("GstSeekType"), values);
1516             g_once_init_leave (&gtype_id, new_type);
1517         }
1518         return (GType) gtype_id;
1519         }
1520 
1521 GType
gst_seek_flags_get_type(void)1522 gst_seek_flags_get_type (void)
1523 {
1524 static gsize gtype_id = 0;
1525 static const GFlagsValue values[] = {
1526     { C_FLAGS(GST_SEEK_FLAG_NONE), "GST_SEEK_FLAG_NONE", "none" },
1527     { C_FLAGS(GST_SEEK_FLAG_FLUSH), "GST_SEEK_FLAG_FLUSH", "flush" },
1528     { C_FLAGS(GST_SEEK_FLAG_ACCURATE), "GST_SEEK_FLAG_ACCURATE", "accurate" },
1529     { C_FLAGS(GST_SEEK_FLAG_KEY_UNIT), "GST_SEEK_FLAG_KEY_UNIT", "key-unit" },
1530     { C_FLAGS(GST_SEEK_FLAG_SEGMENT), "GST_SEEK_FLAG_SEGMENT", "segment" },
1531     { C_FLAGS(GST_SEEK_FLAG_TRICKMODE), "GST_SEEK_FLAG_TRICKMODE", "trickmode" },
1532     { C_FLAGS(GST_SEEK_FLAG_SKIP), "GST_SEEK_FLAG_SKIP", "skip" },
1533     { C_FLAGS(GST_SEEK_FLAG_SNAP_BEFORE), "GST_SEEK_FLAG_SNAP_BEFORE", "snap-before" },
1534     { C_FLAGS(GST_SEEK_FLAG_SNAP_AFTER), "GST_SEEK_FLAG_SNAP_AFTER", "snap-after" },
1535     { C_FLAGS(GST_SEEK_FLAG_SNAP_NEAREST), "GST_SEEK_FLAG_SNAP_NEAREST", "snap-nearest" },
1536     { C_FLAGS(GST_SEEK_FLAG_TRICKMODE_KEY_UNITS), "GST_SEEK_FLAG_TRICKMODE_KEY_UNITS", "trickmode-key-units" },
1537     { C_FLAGS(GST_SEEK_FLAG_TRICKMODE_NO_AUDIO), "GST_SEEK_FLAG_TRICKMODE_NO_AUDIO", "trickmode-no-audio" },
1538     { C_FLAGS(GST_SEEK_FLAG_TRICKMODE_FORWARD_PREDICTED), "GST_SEEK_FLAG_TRICKMODE_FORWARD_PREDICTED", "trickmode-forward-predicted" },
1539     { C_FLAGS(GST_SEEK_FLAG_INSTANT_RATE_CHANGE), "GST_SEEK_FLAG_INSTANT_RATE_CHANGE", "instant-rate-change" },
1540 { 0, NULL, NULL }
1541         };
1542         if (g_once_init_enter (&gtype_id)) {
1543             GType new_type = g_flags_register_static (g_intern_static_string ("GstSeekFlags"), values);
1544             g_once_init_leave (&gtype_id, new_type);
1545         }
1546         return (GType) gtype_id;
1547         }
1548 
1549 GType
gst_segment_flags_get_type(void)1550 gst_segment_flags_get_type (void)
1551 {
1552 static gsize gtype_id = 0;
1553 static const GFlagsValue values[] = {
1554     { C_FLAGS(GST_SEGMENT_FLAG_NONE), "GST_SEGMENT_FLAG_NONE", "none" },
1555     { C_FLAGS(GST_SEGMENT_FLAG_RESET), "GST_SEGMENT_FLAG_RESET", "reset" },
1556     { C_FLAGS(GST_SEGMENT_FLAG_TRICKMODE), "GST_SEGMENT_FLAG_TRICKMODE", "trickmode" },
1557     { C_FLAGS(GST_SEGMENT_FLAG_SKIP), "GST_SEGMENT_FLAG_SKIP", "skip" },
1558     { C_FLAGS(GST_SEGMENT_FLAG_SEGMENT), "GST_SEGMENT_FLAG_SEGMENT", "segment" },
1559     { C_FLAGS(GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS), "GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS", "trickmode-key-units" },
1560     { C_FLAGS(GST_SEGMENT_FLAG_TRICKMODE_FORWARD_PREDICTED), "GST_SEGMENT_FLAG_TRICKMODE_FORWARD_PREDICTED", "trickmode-forward-predicted" },
1561     { C_FLAGS(GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO), "GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO", "trickmode-no-audio" },
1562 { 0, NULL, NULL }
1563         };
1564         if (g_once_init_enter (&gtype_id)) {
1565             GType new_type = g_flags_register_static (g_intern_static_string ("GstSegmentFlags"), values);
1566             g_once_init_leave (&gtype_id, new_type);
1567         }
1568         return (GType) gtype_id;
1569         }
1570 
1571 /* enumerations from "gststreams.h" */
1572 
1573 GType
gst_stream_type_get_type(void)1574 gst_stream_type_get_type (void)
1575 {
1576 static gsize gtype_id = 0;
1577 static const GFlagsValue values[] = {
1578     { C_FLAGS(GST_STREAM_TYPE_UNKNOWN), "GST_STREAM_TYPE_UNKNOWN", "unknown" },
1579     { C_FLAGS(GST_STREAM_TYPE_AUDIO), "GST_STREAM_TYPE_AUDIO", "audio" },
1580     { C_FLAGS(GST_STREAM_TYPE_VIDEO), "GST_STREAM_TYPE_VIDEO", "video" },
1581     { C_FLAGS(GST_STREAM_TYPE_CONTAINER), "GST_STREAM_TYPE_CONTAINER", "container" },
1582     { C_FLAGS(GST_STREAM_TYPE_TEXT), "GST_STREAM_TYPE_TEXT", "text" },
1583 { 0, NULL, NULL }
1584         };
1585         if (g_once_init_enter (&gtype_id)) {
1586             GType new_type = g_flags_register_static (g_intern_static_string ("GstStreamType"), values);
1587             g_once_init_leave (&gtype_id, new_type);
1588         }
1589         return (GType) gtype_id;
1590         }
1591 
1592 /* enumerations from "gststructure.h" */
1593 
1594 GType
gst_serialize_flags_get_type(void)1595 gst_serialize_flags_get_type (void)
1596 {
1597 static gsize gtype_id = 0;
1598 static const GFlagsValue values[] = {
1599     { C_FLAGS(GST_SERIALIZE_FLAG_NONE), "GST_SERIALIZE_FLAG_NONE", "none" },
1600     { C_FLAGS(GST_SERIALIZE_FLAG_BACKWARD_COMPAT), "GST_SERIALIZE_FLAG_BACKWARD_COMPAT", "backward-compat" },
1601 { 0, NULL, NULL }
1602         };
1603         if (g_once_init_enter (&gtype_id)) {
1604             GType new_type = g_flags_register_static (g_intern_static_string ("GstSerializeFlags"), values);
1605             g_once_init_leave (&gtype_id, new_type);
1606         }
1607         return (GType) gtype_id;
1608         }
1609 
1610 /* enumerations from "gstsystemclock.h" */
1611 
1612 GType
gst_clock_type_get_type(void)1613 gst_clock_type_get_type (void)
1614 {
1615 static gsize gtype_id = 0;
1616 static const GEnumValue values[] = {
1617     { C_ENUM(GST_CLOCK_TYPE_REALTIME), "GST_CLOCK_TYPE_REALTIME", "realtime" },
1618     { C_ENUM(GST_CLOCK_TYPE_MONOTONIC), "GST_CLOCK_TYPE_MONOTONIC", "monotonic" },
1619     { C_ENUM(GST_CLOCK_TYPE_OTHER), "GST_CLOCK_TYPE_OTHER", "other" },
1620     { C_ENUM(GST_CLOCK_TYPE_TAI), "GST_CLOCK_TYPE_TAI", "tai" },
1621 { 0, NULL, NULL }
1622         };
1623         if (g_once_init_enter (&gtype_id)) {
1624             GType new_type = g_enum_register_static (g_intern_static_string ("GstClockType"), values);
1625             g_once_init_leave (&gtype_id, new_type);
1626         }
1627         return (GType) gtype_id;
1628         }
1629 
1630 /* enumerations from "gsttaglist.h" */
1631 
1632 GType
gst_tag_merge_mode_get_type(void)1633 gst_tag_merge_mode_get_type (void)
1634 {
1635 static gsize gtype_id = 0;
1636 static const GEnumValue values[] = {
1637     { C_ENUM(GST_TAG_MERGE_UNDEFINED), "GST_TAG_MERGE_UNDEFINED", "undefined" },
1638     { C_ENUM(GST_TAG_MERGE_REPLACE_ALL), "GST_TAG_MERGE_REPLACE_ALL", "replace-all" },
1639     { C_ENUM(GST_TAG_MERGE_REPLACE), "GST_TAG_MERGE_REPLACE", "replace" },
1640     { C_ENUM(GST_TAG_MERGE_APPEND), "GST_TAG_MERGE_APPEND", "append" },
1641     { C_ENUM(GST_TAG_MERGE_PREPEND), "GST_TAG_MERGE_PREPEND", "prepend" },
1642     { C_ENUM(GST_TAG_MERGE_KEEP), "GST_TAG_MERGE_KEEP", "keep" },
1643     { C_ENUM(GST_TAG_MERGE_KEEP_ALL), "GST_TAG_MERGE_KEEP_ALL", "keep-all" },
1644     { C_ENUM(GST_TAG_MERGE_COUNT), "GST_TAG_MERGE_COUNT", "count" },
1645 { 0, NULL, NULL }
1646         };
1647         if (g_once_init_enter (&gtype_id)) {
1648             GType new_type = g_enum_register_static (g_intern_static_string ("GstTagMergeMode"), values);
1649             g_once_init_leave (&gtype_id, new_type);
1650         }
1651         return (GType) gtype_id;
1652         }
1653 
1654 GType
gst_tag_flag_get_type(void)1655 gst_tag_flag_get_type (void)
1656 {
1657 static gsize gtype_id = 0;
1658 static const GEnumValue values[] = {
1659     { C_ENUM(GST_TAG_FLAG_UNDEFINED), "GST_TAG_FLAG_UNDEFINED", "undefined" },
1660     { C_ENUM(GST_TAG_FLAG_META), "GST_TAG_FLAG_META", "meta" },
1661     { C_ENUM(GST_TAG_FLAG_ENCODED), "GST_TAG_FLAG_ENCODED", "encoded" },
1662     { C_ENUM(GST_TAG_FLAG_DECODED), "GST_TAG_FLAG_DECODED", "decoded" },
1663     { C_ENUM(GST_TAG_FLAG_COUNT), "GST_TAG_FLAG_COUNT", "count" },
1664 { 0, NULL, NULL }
1665         };
1666         if (g_once_init_enter (&gtype_id)) {
1667             GType new_type = g_enum_register_static (g_intern_static_string ("GstTagFlag"), values);
1668             g_once_init_leave (&gtype_id, new_type);
1669         }
1670         return (GType) gtype_id;
1671         }
1672 
1673 GType
gst_tag_scope_get_type(void)1674 gst_tag_scope_get_type (void)
1675 {
1676 static gsize gtype_id = 0;
1677 static const GEnumValue values[] = {
1678     { C_ENUM(GST_TAG_SCOPE_STREAM), "GST_TAG_SCOPE_STREAM", "stream" },
1679     { C_ENUM(GST_TAG_SCOPE_GLOBAL), "GST_TAG_SCOPE_GLOBAL", "global" },
1680 { 0, NULL, NULL }
1681         };
1682         if (g_once_init_enter (&gtype_id)) {
1683             GType new_type = g_enum_register_static (g_intern_static_string ("GstTagScope"), values);
1684             g_once_init_leave (&gtype_id, new_type);
1685         }
1686         return (GType) gtype_id;
1687         }
1688 
1689 /* enumerations from "gsttask.h" */
1690 
1691 GType
gst_task_state_get_type(void)1692 gst_task_state_get_type (void)
1693 {
1694 static gsize gtype_id = 0;
1695 static const GEnumValue values[] = {
1696     { C_ENUM(GST_TASK_STARTED), "GST_TASK_STARTED", "started" },
1697     { C_ENUM(GST_TASK_STOPPED), "GST_TASK_STOPPED", "stopped" },
1698     { C_ENUM(GST_TASK_PAUSED), "GST_TASK_PAUSED", "paused" },
1699 { 0, NULL, NULL }
1700         };
1701         if (g_once_init_enter (&gtype_id)) {
1702             GType new_type = g_enum_register_static (g_intern_static_string ("GstTaskState"), values);
1703             g_once_init_leave (&gtype_id, new_type);
1704         }
1705         return (GType) gtype_id;
1706         }
1707 
1708 /* enumerations from "gsttoc.h" */
1709 
1710 GType
gst_toc_scope_get_type(void)1711 gst_toc_scope_get_type (void)
1712 {
1713 static gsize gtype_id = 0;
1714 static const GEnumValue values[] = {
1715     { C_ENUM(GST_TOC_SCOPE_GLOBAL), "GST_TOC_SCOPE_GLOBAL", "global" },
1716     { C_ENUM(GST_TOC_SCOPE_CURRENT), "GST_TOC_SCOPE_CURRENT", "current" },
1717 { 0, NULL, NULL }
1718         };
1719         if (g_once_init_enter (&gtype_id)) {
1720             GType new_type = g_enum_register_static (g_intern_static_string ("GstTocScope"), values);
1721             g_once_init_leave (&gtype_id, new_type);
1722         }
1723         return (GType) gtype_id;
1724         }
1725 
1726 GType
gst_toc_entry_type_get_type(void)1727 gst_toc_entry_type_get_type (void)
1728 {
1729 static gsize gtype_id = 0;
1730 static const GEnumValue values[] = {
1731     { C_ENUM(GST_TOC_ENTRY_TYPE_ANGLE), "GST_TOC_ENTRY_TYPE_ANGLE", "angle" },
1732     { C_ENUM(GST_TOC_ENTRY_TYPE_VERSION), "GST_TOC_ENTRY_TYPE_VERSION", "version" },
1733     { C_ENUM(GST_TOC_ENTRY_TYPE_EDITION), "GST_TOC_ENTRY_TYPE_EDITION", "edition" },
1734     { C_ENUM(GST_TOC_ENTRY_TYPE_INVALID), "GST_TOC_ENTRY_TYPE_INVALID", "invalid" },
1735     { C_ENUM(GST_TOC_ENTRY_TYPE_TITLE), "GST_TOC_ENTRY_TYPE_TITLE", "title" },
1736     { C_ENUM(GST_TOC_ENTRY_TYPE_TRACK), "GST_TOC_ENTRY_TYPE_TRACK", "track" },
1737     { C_ENUM(GST_TOC_ENTRY_TYPE_CHAPTER), "GST_TOC_ENTRY_TYPE_CHAPTER", "chapter" },
1738 { 0, NULL, NULL }
1739         };
1740         if (g_once_init_enter (&gtype_id)) {
1741             GType new_type = g_enum_register_static (g_intern_static_string ("GstTocEntryType"), values);
1742             g_once_init_leave (&gtype_id, new_type);
1743         }
1744         return (GType) gtype_id;
1745         }
1746 
1747 GType
gst_toc_loop_type_get_type(void)1748 gst_toc_loop_type_get_type (void)
1749 {
1750 static gsize gtype_id = 0;
1751 static const GEnumValue values[] = {
1752     { C_ENUM(GST_TOC_LOOP_NONE), "GST_TOC_LOOP_NONE", "none" },
1753     { C_ENUM(GST_TOC_LOOP_FORWARD), "GST_TOC_LOOP_FORWARD", "forward" },
1754     { C_ENUM(GST_TOC_LOOP_REVERSE), "GST_TOC_LOOP_REVERSE", "reverse" },
1755     { C_ENUM(GST_TOC_LOOP_PING_PONG), "GST_TOC_LOOP_PING_PONG", "ping-pong" },
1756 { 0, NULL, NULL }
1757         };
1758         if (g_once_init_enter (&gtype_id)) {
1759             GType new_type = g_enum_register_static (g_intern_static_string ("GstTocLoopType"), values);
1760             g_once_init_leave (&gtype_id, new_type);
1761         }
1762         return (GType) gtype_id;
1763         }
1764 
1765 /* enumerations from "gsttracerrecord.h" */
1766 
1767 GType
gst_tracer_value_scope_get_type(void)1768 gst_tracer_value_scope_get_type (void)
1769 {
1770 static gsize gtype_id = 0;
1771 static const GEnumValue values[] = {
1772     { C_ENUM(GST_TRACER_VALUE_SCOPE_PROCESS), "GST_TRACER_VALUE_SCOPE_PROCESS", "process" },
1773     { C_ENUM(GST_TRACER_VALUE_SCOPE_THREAD), "GST_TRACER_VALUE_SCOPE_THREAD", "thread" },
1774     { C_ENUM(GST_TRACER_VALUE_SCOPE_ELEMENT), "GST_TRACER_VALUE_SCOPE_ELEMENT", "element" },
1775     { C_ENUM(GST_TRACER_VALUE_SCOPE_PAD), "GST_TRACER_VALUE_SCOPE_PAD", "pad" },
1776 { 0, NULL, NULL }
1777         };
1778         if (g_once_init_enter (&gtype_id)) {
1779             GType new_type = g_enum_register_static (g_intern_static_string ("GstTracerValueScope"), values);
1780             g_once_init_leave (&gtype_id, new_type);
1781         }
1782         return (GType) gtype_id;
1783         }
1784 
1785 GType
gst_tracer_value_flags_get_type(void)1786 gst_tracer_value_flags_get_type (void)
1787 {
1788 static gsize gtype_id = 0;
1789 static const GFlagsValue values[] = {
1790     { C_FLAGS(GST_TRACER_VALUE_FLAGS_NONE), "GST_TRACER_VALUE_FLAGS_NONE", "none" },
1791     { C_FLAGS(GST_TRACER_VALUE_FLAGS_OPTIONAL), "GST_TRACER_VALUE_FLAGS_OPTIONAL", "optional" },
1792     { C_FLAGS(GST_TRACER_VALUE_FLAGS_AGGREGATED), "GST_TRACER_VALUE_FLAGS_AGGREGATED", "aggregated" },
1793 { 0, NULL, NULL }
1794         };
1795         if (g_once_init_enter (&gtype_id)) {
1796             GType new_type = g_flags_register_static (g_intern_static_string ("GstTracerValueFlags"), values);
1797             g_once_init_leave (&gtype_id, new_type);
1798         }
1799         return (GType) gtype_id;
1800         }
1801 
1802 /* enumerations from "gsttypefind.h" */
1803 
1804 GType
gst_type_find_probability_get_type(void)1805 gst_type_find_probability_get_type (void)
1806 {
1807 static gsize gtype_id = 0;
1808 static const GEnumValue values[] = {
1809     { C_ENUM(GST_TYPE_FIND_NONE), "GST_TYPE_FIND_NONE", "none" },
1810     { C_ENUM(GST_TYPE_FIND_MINIMUM), "GST_TYPE_FIND_MINIMUM", "minimum" },
1811     { C_ENUM(GST_TYPE_FIND_POSSIBLE), "GST_TYPE_FIND_POSSIBLE", "possible" },
1812     { C_ENUM(GST_TYPE_FIND_LIKELY), "GST_TYPE_FIND_LIKELY", "likely" },
1813     { C_ENUM(GST_TYPE_FIND_NEARLY_CERTAIN), "GST_TYPE_FIND_NEARLY_CERTAIN", "nearly-certain" },
1814     { C_ENUM(GST_TYPE_FIND_MAXIMUM), "GST_TYPE_FIND_MAXIMUM", "maximum" },
1815 { 0, NULL, NULL }
1816         };
1817         if (g_once_init_enter (&gtype_id)) {
1818             GType new_type = g_enum_register_static (g_intern_static_string ("GstTypeFindProbability"), values);
1819             g_once_init_leave (&gtype_id, new_type);
1820         }
1821         return (GType) gtype_id;
1822         }
1823 
1824 /* enumerations from "gsturi.h" */
1825 
1826 GType
gst_uri_error_get_type(void)1827 gst_uri_error_get_type (void)
1828 {
1829 static gsize gtype_id = 0;
1830 static const GEnumValue values[] = {
1831     { C_ENUM(GST_URI_ERROR_UNSUPPORTED_PROTOCOL), "GST_URI_ERROR_UNSUPPORTED_PROTOCOL", "unsupported-protocol" },
1832     { C_ENUM(GST_URI_ERROR_BAD_URI), "GST_URI_ERROR_BAD_URI", "bad-uri" },
1833     { C_ENUM(GST_URI_ERROR_BAD_STATE), "GST_URI_ERROR_BAD_STATE", "bad-state" },
1834     { C_ENUM(GST_URI_ERROR_BAD_REFERENCE), "GST_URI_ERROR_BAD_REFERENCE", "bad-reference" },
1835 { 0, NULL, NULL }
1836         };
1837         if (g_once_init_enter (&gtype_id)) {
1838             GType new_type = g_enum_register_static (g_intern_static_string ("GstURIError"), values);
1839             g_once_init_leave (&gtype_id, new_type);
1840         }
1841         return (GType) gtype_id;
1842         }
1843 
1844 GType
gst_uri_type_get_type(void)1845 gst_uri_type_get_type (void)
1846 {
1847 static gsize gtype_id = 0;
1848 static const GEnumValue values[] = {
1849     { C_ENUM(GST_URI_UNKNOWN), "GST_URI_UNKNOWN", "unknown" },
1850     { C_ENUM(GST_URI_SINK), "GST_URI_SINK", "sink" },
1851     { C_ENUM(GST_URI_SRC), "GST_URI_SRC", "src" },
1852 { 0, NULL, NULL }
1853         };
1854         if (g_once_init_enter (&gtype_id)) {
1855             GType new_type = g_enum_register_static (g_intern_static_string ("GstURIType"), values);
1856             g_once_init_leave (&gtype_id, new_type);
1857         }
1858         return (GType) gtype_id;
1859         }
1860 
1861 /* enumerations from "gstutils.h" */
1862 
1863 GType
gst_search_mode_get_type(void)1864 gst_search_mode_get_type (void)
1865 {
1866 static gsize gtype_id = 0;
1867 static const GEnumValue values[] = {
1868     { C_ENUM(GST_SEARCH_MODE_EXACT), "GST_SEARCH_MODE_EXACT", "exact" },
1869     { C_ENUM(GST_SEARCH_MODE_BEFORE), "GST_SEARCH_MODE_BEFORE", "before" },
1870     { C_ENUM(GST_SEARCH_MODE_AFTER), "GST_SEARCH_MODE_AFTER", "after" },
1871 { 0, NULL, NULL }
1872         };
1873         if (g_once_init_enter (&gtype_id)) {
1874             GType new_type = g_enum_register_static (g_intern_static_string ("GstSearchMode"), values);
1875             g_once_init_leave (&gtype_id, new_type);
1876         }
1877         return (GType) gtype_id;
1878         }
1879 
1880 GType
gst_plugin_api_flags_get_type(void)1881 gst_plugin_api_flags_get_type (void)
1882 {
1883 static gsize gtype_id = 0;
1884 static const GFlagsValue values[] = {
1885     { C_FLAGS(GST_PLUGIN_API_FLAG_IGNORE_ENUM_MEMBERS), "GST_PLUGIN_API_FLAG_IGNORE_ENUM_MEMBERS", "members" },
1886 { 0, NULL, NULL }
1887         };
1888         if (g_once_init_enter (&gtype_id)) {
1889             GType new_type = g_flags_register_static (g_intern_static_string ("GstPluginAPIFlags"), values);
1890             g_once_init_leave (&gtype_id, new_type);
1891         }
1892         return (GType) gtype_id;
1893         }
1894 
1895 /* Generated data ends here */
1896 
1897