6 #define C_ENUM(v) ((gint) v) |
6 #define C_ENUM(v) ((gint) v) |
7 #define C_FLAGS(v) ((guint) v) |
7 #define C_FLAGS(v) ((guint) v) |
8 |
8 |
9 |
9 |
10 /* enumerations from "gstobject.h" */ |
10 /* enumerations from "gstobject.h" */ |
11 #ifdef __SYMBIAN32__ |
11 static void |
12 EXPORT_C |
12 register_gst_object_flags (GType* id) |
13 #endif |
13 { |
14 |
|
15 GType |
|
16 gst_object_flags_get_type (void) |
|
17 { |
|
18 static gsize id = 0; |
|
19 static const GFlagsValue values[] = { |
14 static const GFlagsValue values[] = { |
20 { C_FLAGS(GST_OBJECT_DISPOSING), "GST_OBJECT_DISPOSING", "disposing" }, |
15 { C_FLAGS(GST_OBJECT_DISPOSING), "GST_OBJECT_DISPOSING", "disposing" }, |
21 { C_FLAGS(GST_OBJECT_FLOATING), "GST_OBJECT_FLOATING", "floating" }, |
16 { C_FLAGS(GST_OBJECT_FLOATING), "GST_OBJECT_FLOATING", "floating" }, |
22 { C_FLAGS(GST_OBJECT_FLAG_LAST), "GST_OBJECT_FLAG_LAST", "flag-last" }, |
17 { C_FLAGS(GST_OBJECT_FLAG_LAST), "GST_OBJECT_FLAG_LAST", "flag-last" }, |
23 { 0, NULL, NULL } |
18 { 0, NULL, NULL } |
24 }; |
19 }; |
25 |
20 *id = g_flags_register_static ("GstObjectFlags", values); |
26 if (g_once_init_enter (&id)) { |
21 } |
27 GType tmp = g_flags_register_static ("GstObjectFlags", values); |
22 #ifdef __SYMBIAN32__ |
28 g_once_init_leave (&id, tmp); |
23 EXPORT_C |
29 } |
24 #endif |
30 |
25 |
31 return (GType) id; |
26 GType |
|
27 gst_object_flags_get_type (void) |
|
28 { |
|
29 static GType id; |
|
30 static GOnce once = G_ONCE_INIT; |
|
31 |
|
32 g_once (&once, (GThreadFunc)register_gst_object_flags, &id); |
|
33 return id; |
32 } |
34 } |
33 |
35 |
34 /* enumerations from "gstbin.h" */ |
36 /* enumerations from "gstbin.h" */ |
|
37 static void |
|
38 register_gst_bin_flags (GType* id) |
|
39 { |
|
40 static const GFlagsValue values[] = { |
|
41 { C_FLAGS(GST_BIN_FLAG_LAST), "GST_BIN_FLAG_LAST", "last" }, |
|
42 { 0, NULL, NULL } |
|
43 }; |
|
44 *id = g_flags_register_static ("GstBinFlags", values); |
|
45 } |
35 #ifdef __SYMBIAN32__ |
46 #ifdef __SYMBIAN32__ |
36 EXPORT_C |
47 EXPORT_C |
37 #endif |
48 #endif |
38 |
49 |
39 GType |
50 GType |
40 gst_bin_flags_get_type (void) |
51 gst_bin_flags_get_type (void) |
41 { |
52 { |
42 static gsize id = 0; |
53 static GType id; |
43 static const GFlagsValue values[] = { |
54 static GOnce once = G_ONCE_INIT; |
44 { C_FLAGS(GST_BIN_FLAG_LAST), "GST_BIN_FLAG_LAST", "last" }, |
55 |
45 { 0, NULL, NULL } |
56 g_once (&once, (GThreadFunc)register_gst_bin_flags, &id); |
46 }; |
57 return id; |
47 |
|
48 if (g_once_init_enter (&id)) { |
|
49 GType tmp = g_flags_register_static ("GstBinFlags", values); |
|
50 g_once_init_leave (&id, tmp); |
|
51 } |
|
52 |
|
53 return (GType) id; |
|
54 } |
58 } |
55 |
59 |
56 /* enumerations from "gstbuffer.h" */ |
60 /* enumerations from "gstbuffer.h" */ |
57 #ifdef __SYMBIAN32__ |
61 static void |
58 EXPORT_C |
62 register_gst_buffer_flag (GType* id) |
59 #endif |
63 { |
60 |
|
61 GType |
|
62 gst_buffer_flag_get_type (void) |
|
63 { |
|
64 static gsize id = 0; |
|
65 static const GFlagsValue values[] = { |
64 static const GFlagsValue values[] = { |
66 { C_FLAGS(GST_BUFFER_FLAG_READONLY), "GST_BUFFER_FLAG_READONLY", "readonly" }, |
65 { C_FLAGS(GST_BUFFER_FLAG_READONLY), "GST_BUFFER_FLAG_READONLY", "readonly" }, |
67 { C_FLAGS(GST_BUFFER_FLAG_PREROLL), "GST_BUFFER_FLAG_PREROLL", "preroll" }, |
66 { C_FLAGS(GST_BUFFER_FLAG_PREROLL), "GST_BUFFER_FLAG_PREROLL", "preroll" }, |
68 { C_FLAGS(GST_BUFFER_FLAG_DISCONT), "GST_BUFFER_FLAG_DISCONT", "discont" }, |
67 { C_FLAGS(GST_BUFFER_FLAG_DISCONT), "GST_BUFFER_FLAG_DISCONT", "discont" }, |
69 { C_FLAGS(GST_BUFFER_FLAG_IN_CAPS), "GST_BUFFER_FLAG_IN_CAPS", "in-caps" }, |
68 { C_FLAGS(GST_BUFFER_FLAG_IN_CAPS), "GST_BUFFER_FLAG_IN_CAPS", "in-caps" }, |
70 { C_FLAGS(GST_BUFFER_FLAG_GAP), "GST_BUFFER_FLAG_GAP", "gap" }, |
69 { C_FLAGS(GST_BUFFER_FLAG_GAP), "GST_BUFFER_FLAG_GAP", "gap" }, |
71 { C_FLAGS(GST_BUFFER_FLAG_DELTA_UNIT), "GST_BUFFER_FLAG_DELTA_UNIT", "delta-unit" }, |
70 { C_FLAGS(GST_BUFFER_FLAG_DELTA_UNIT), "GST_BUFFER_FLAG_DELTA_UNIT", "delta-unit" }, |
72 { C_FLAGS(GST_BUFFER_FLAG_MEDIA1), "GST_BUFFER_FLAG_MEDIA1", "media1" }, |
|
73 { C_FLAGS(GST_BUFFER_FLAG_MEDIA2), "GST_BUFFER_FLAG_MEDIA2", "media2" }, |
|
74 { C_FLAGS(GST_BUFFER_FLAG_MEDIA3), "GST_BUFFER_FLAG_MEDIA3", "media3" }, |
|
75 { C_FLAGS(GST_BUFFER_FLAG_LAST), "GST_BUFFER_FLAG_LAST", "last" }, |
71 { C_FLAGS(GST_BUFFER_FLAG_LAST), "GST_BUFFER_FLAG_LAST", "last" }, |
76 { 0, NULL, NULL } |
72 { 0, NULL, NULL } |
77 }; |
73 }; |
78 |
74 *id = g_flags_register_static ("GstBufferFlag", values); |
79 if (g_once_init_enter (&id)) { |
75 } |
80 GType tmp = g_flags_register_static ("GstBufferFlag", values); |
76 #ifdef __SYMBIAN32__ |
81 g_once_init_leave (&id, tmp); |
77 EXPORT_C |
82 } |
78 #endif |
83 |
79 |
84 return (GType) id; |
80 GType |
85 } |
81 gst_buffer_flag_get_type (void) |
86 #ifdef __SYMBIAN32__ |
82 { |
87 EXPORT_C |
83 static GType id; |
88 #endif |
84 static GOnce once = G_ONCE_INIT; |
89 |
85 |
90 GType |
86 g_once (&once, (GThreadFunc)register_gst_buffer_flag, &id); |
91 gst_buffer_copy_flags_get_type (void) |
87 return id; |
92 { |
88 } |
93 static gsize id = 0; |
89 static void |
|
90 register_gst_buffer_copy_flags (GType* id) |
|
91 { |
94 static const GFlagsValue values[] = { |
92 static const GFlagsValue values[] = { |
95 { C_FLAGS(GST_BUFFER_COPY_FLAGS), "GST_BUFFER_COPY_FLAGS", "flags" }, |
93 { C_FLAGS(GST_BUFFER_COPY_FLAGS), "GST_BUFFER_COPY_FLAGS", "flags" }, |
96 { C_FLAGS(GST_BUFFER_COPY_TIMESTAMPS), "GST_BUFFER_COPY_TIMESTAMPS", "timestamps" }, |
94 { C_FLAGS(GST_BUFFER_COPY_TIMESTAMPS), "GST_BUFFER_COPY_TIMESTAMPS", "timestamps" }, |
97 { C_FLAGS(GST_BUFFER_COPY_CAPS), "GST_BUFFER_COPY_CAPS", "caps" }, |
95 { C_FLAGS(GST_BUFFER_COPY_CAPS), "GST_BUFFER_COPY_CAPS", "caps" }, |
98 { 0, NULL, NULL } |
96 { 0, NULL, NULL } |
99 }; |
97 }; |
100 |
98 *id = g_flags_register_static ("GstBufferCopyFlags", values); |
101 if (g_once_init_enter (&id)) { |
99 } |
102 GType tmp = g_flags_register_static ("GstBufferCopyFlags", values); |
100 #ifdef __SYMBIAN32__ |
103 g_once_init_leave (&id, tmp); |
101 EXPORT_C |
104 } |
102 #endif |
105 |
103 |
106 return (GType) id; |
104 GType |
107 } |
105 gst_buffer_copy_flags_get_type (void) |
108 |
106 { |
109 /* enumerations from "gstbufferlist.h" */ |
107 static GType id; |
110 #ifdef __SYMBIAN32__ |
108 static GOnce once = G_ONCE_INIT; |
111 EXPORT_C |
109 |
112 #endif |
110 g_once (&once, (GThreadFunc)register_gst_buffer_copy_flags, &id); |
113 |
111 return id; |
114 GType |
|
115 gst_buffer_list_item_get_type (void) |
|
116 { |
|
117 static gsize id = 0; |
|
118 static const GEnumValue values[] = { |
|
119 { C_ENUM(GST_BUFFER_LIST_CONTINUE), "GST_BUFFER_LIST_CONTINUE", "continue" }, |
|
120 { C_ENUM(GST_BUFFER_LIST_SKIP_GROUP), "GST_BUFFER_LIST_SKIP_GROUP", "skip-group" }, |
|
121 { C_ENUM(GST_BUFFER_LIST_END), "GST_BUFFER_LIST_END", "end" }, |
|
122 { 0, NULL, NULL } |
|
123 }; |
|
124 |
|
125 if (g_once_init_enter (&id)) { |
|
126 GType tmp = g_enum_register_static ("GstBufferListItem", values); |
|
127 g_once_init_leave (&id, tmp); |
|
128 } |
|
129 |
|
130 return (GType) id; |
|
131 } |
112 } |
132 |
113 |
133 /* enumerations from "gstbus.h" */ |
114 /* enumerations from "gstbus.h" */ |
134 #ifdef __SYMBIAN32__ |
115 static void |
135 EXPORT_C |
116 register_gst_bus_flags (GType* id) |
136 #endif |
117 { |
137 |
|
138 GType |
|
139 gst_bus_flags_get_type (void) |
|
140 { |
|
141 static gsize id = 0; |
|
142 static const GFlagsValue values[] = { |
118 static const GFlagsValue values[] = { |
143 { C_FLAGS(GST_BUS_FLUSHING), "GST_BUS_FLUSHING", "flushing" }, |
119 { C_FLAGS(GST_BUS_FLUSHING), "GST_BUS_FLUSHING", "flushing" }, |
144 { C_FLAGS(GST_BUS_FLAG_LAST), "GST_BUS_FLAG_LAST", "flag-last" }, |
120 { C_FLAGS(GST_BUS_FLAG_LAST), "GST_BUS_FLAG_LAST", "flag-last" }, |
145 { 0, NULL, NULL } |
121 { 0, NULL, NULL } |
146 }; |
122 }; |
147 |
123 *id = g_flags_register_static ("GstBusFlags", values); |
148 if (g_once_init_enter (&id)) { |
124 } |
149 GType tmp = g_flags_register_static ("GstBusFlags", values); |
125 #ifdef __SYMBIAN32__ |
150 g_once_init_leave (&id, tmp); |
126 EXPORT_C |
151 } |
127 #endif |
152 |
128 |
153 return (GType) id; |
129 GType |
154 } |
130 gst_bus_flags_get_type (void) |
155 #ifdef __SYMBIAN32__ |
131 { |
156 EXPORT_C |
132 static GType id; |
157 #endif |
133 static GOnce once = G_ONCE_INIT; |
158 |
134 |
159 GType |
135 g_once (&once, (GThreadFunc)register_gst_bus_flags, &id); |
160 gst_bus_sync_reply_get_type (void) |
136 return id; |
161 { |
137 } |
162 static gsize id = 0; |
138 static void |
|
139 register_gst_bus_sync_reply (GType* id) |
|
140 { |
163 static const GEnumValue values[] = { |
141 static const GEnumValue values[] = { |
164 { C_ENUM(GST_BUS_DROP), "GST_BUS_DROP", "drop" }, |
142 { C_ENUM(GST_BUS_DROP), "GST_BUS_DROP", "drop" }, |
165 { C_ENUM(GST_BUS_PASS), "GST_BUS_PASS", "pass" }, |
143 { C_ENUM(GST_BUS_PASS), "GST_BUS_PASS", "pass" }, |
166 { C_ENUM(GST_BUS_ASYNC), "GST_BUS_ASYNC", "async" }, |
144 { C_ENUM(GST_BUS_ASYNC), "GST_BUS_ASYNC", "async" }, |
167 { 0, NULL, NULL } |
145 { 0, NULL, NULL } |
168 }; |
146 }; |
169 |
147 *id = g_enum_register_static ("GstBusSyncReply", values); |
170 if (g_once_init_enter (&id)) { |
148 } |
171 GType tmp = g_enum_register_static ("GstBusSyncReply", values); |
149 #ifdef __SYMBIAN32__ |
172 g_once_init_leave (&id, tmp); |
150 EXPORT_C |
173 } |
151 #endif |
174 |
152 |
175 return (GType) id; |
153 GType |
|
154 gst_bus_sync_reply_get_type (void) |
|
155 { |
|
156 static GType id; |
|
157 static GOnce once = G_ONCE_INIT; |
|
158 |
|
159 g_once (&once, (GThreadFunc)register_gst_bus_sync_reply, &id); |
|
160 return id; |
176 } |
161 } |
177 |
162 |
178 /* enumerations from "gstcaps.h" */ |
163 /* enumerations from "gstcaps.h" */ |
|
164 static void |
|
165 register_gst_caps_flags (GType* id) |
|
166 { |
|
167 static const GFlagsValue values[] = { |
|
168 { C_FLAGS(GST_CAPS_FLAGS_ANY), "GST_CAPS_FLAGS_ANY", "any" }, |
|
169 { 0, NULL, NULL } |
|
170 }; |
|
171 *id = g_flags_register_static ("GstCapsFlags", values); |
|
172 } |
179 #ifdef __SYMBIAN32__ |
173 #ifdef __SYMBIAN32__ |
180 EXPORT_C |
174 EXPORT_C |
181 #endif |
175 #endif |
182 |
176 |
183 GType |
177 GType |
184 gst_caps_flags_get_type (void) |
178 gst_caps_flags_get_type (void) |
185 { |
179 { |
186 static gsize id = 0; |
180 static GType id; |
187 static const GFlagsValue values[] = { |
181 static GOnce once = G_ONCE_INIT; |
188 { C_FLAGS(GST_CAPS_FLAGS_ANY), "GST_CAPS_FLAGS_ANY", "any" }, |
182 |
189 { 0, NULL, NULL } |
183 g_once (&once, (GThreadFunc)register_gst_caps_flags, &id); |
190 }; |
184 return id; |
191 |
|
192 if (g_once_init_enter (&id)) { |
|
193 GType tmp = g_flags_register_static ("GstCapsFlags", values); |
|
194 g_once_init_leave (&id, tmp); |
|
195 } |
|
196 |
|
197 return (GType) id; |
|
198 } |
185 } |
199 |
186 |
200 /* enumerations from "gstclock.h" */ |
187 /* enumerations from "gstclock.h" */ |
201 #ifdef __SYMBIAN32__ |
188 static void |
202 EXPORT_C |
189 register_gst_clock_return (GType* id) |
203 #endif |
190 { |
204 |
|
205 GType |
|
206 gst_clock_return_get_type (void) |
|
207 { |
|
208 static gsize id = 0; |
|
209 static const GEnumValue values[] = { |
191 static const GEnumValue values[] = { |
210 { C_ENUM(GST_CLOCK_OK), "GST_CLOCK_OK", "ok" }, |
192 { C_ENUM(GST_CLOCK_OK), "GST_CLOCK_OK", "ok" }, |
211 { C_ENUM(GST_CLOCK_EARLY), "GST_CLOCK_EARLY", "early" }, |
193 { C_ENUM(GST_CLOCK_EARLY), "GST_CLOCK_EARLY", "early" }, |
212 { C_ENUM(GST_CLOCK_UNSCHEDULED), "GST_CLOCK_UNSCHEDULED", "unscheduled" }, |
194 { C_ENUM(GST_CLOCK_UNSCHEDULED), "GST_CLOCK_UNSCHEDULED", "unscheduled" }, |
213 { C_ENUM(GST_CLOCK_BUSY), "GST_CLOCK_BUSY", "busy" }, |
195 { C_ENUM(GST_CLOCK_BUSY), "GST_CLOCK_BUSY", "busy" }, |
214 { C_ENUM(GST_CLOCK_BADTIME), "GST_CLOCK_BADTIME", "badtime" }, |
196 { C_ENUM(GST_CLOCK_BADTIME), "GST_CLOCK_BADTIME", "badtime" }, |
215 { C_ENUM(GST_CLOCK_ERROR), "GST_CLOCK_ERROR", "error" }, |
197 { C_ENUM(GST_CLOCK_ERROR), "GST_CLOCK_ERROR", "error" }, |
216 { C_ENUM(GST_CLOCK_UNSUPPORTED), "GST_CLOCK_UNSUPPORTED", "unsupported" }, |
198 { C_ENUM(GST_CLOCK_UNSUPPORTED), "GST_CLOCK_UNSUPPORTED", "unsupported" }, |
217 { 0, NULL, NULL } |
199 { 0, NULL, NULL } |
218 }; |
200 }; |
219 |
201 *id = g_enum_register_static ("GstClockReturn", values); |
220 if (g_once_init_enter (&id)) { |
202 } |
221 GType tmp = g_enum_register_static ("GstClockReturn", values); |
203 #ifdef __SYMBIAN32__ |
222 g_once_init_leave (&id, tmp); |
204 EXPORT_C |
223 } |
205 #endif |
224 |
206 |
225 return (GType) id; |
207 GType |
226 } |
208 gst_clock_return_get_type (void) |
227 #ifdef __SYMBIAN32__ |
209 { |
228 EXPORT_C |
210 static GType id; |
229 #endif |
211 static GOnce once = G_ONCE_INIT; |
230 |
212 |
231 GType |
213 g_once (&once, (GThreadFunc)register_gst_clock_return, &id); |
232 gst_clock_entry_type_get_type (void) |
214 return id; |
233 { |
215 } |
234 static gsize id = 0; |
216 static void |
|
217 register_gst_clock_entry_type (GType* id) |
|
218 { |
235 static const GEnumValue values[] = { |
219 static const GEnumValue values[] = { |
236 { C_ENUM(GST_CLOCK_ENTRY_SINGLE), "GST_CLOCK_ENTRY_SINGLE", "single" }, |
220 { C_ENUM(GST_CLOCK_ENTRY_SINGLE), "GST_CLOCK_ENTRY_SINGLE", "single" }, |
237 { C_ENUM(GST_CLOCK_ENTRY_PERIODIC), "GST_CLOCK_ENTRY_PERIODIC", "periodic" }, |
221 { C_ENUM(GST_CLOCK_ENTRY_PERIODIC), "GST_CLOCK_ENTRY_PERIODIC", "periodic" }, |
238 { 0, NULL, NULL } |
222 { 0, NULL, NULL } |
239 }; |
223 }; |
240 |
224 *id = g_enum_register_static ("GstClockEntryType", values); |
241 if (g_once_init_enter (&id)) { |
225 } |
242 GType tmp = g_enum_register_static ("GstClockEntryType", values); |
226 #ifdef __SYMBIAN32__ |
243 g_once_init_leave (&id, tmp); |
227 EXPORT_C |
244 } |
228 #endif |
245 |
229 |
246 return (GType) id; |
230 GType |
247 } |
231 gst_clock_entry_type_get_type (void) |
248 #ifdef __SYMBIAN32__ |
232 { |
249 EXPORT_C |
233 static GType id; |
250 #endif |
234 static GOnce once = G_ONCE_INIT; |
251 |
235 |
252 GType |
236 g_once (&once, (GThreadFunc)register_gst_clock_entry_type, &id); |
253 gst_clock_flags_get_type (void) |
237 return id; |
254 { |
238 } |
255 static gsize id = 0; |
239 static void |
|
240 register_gst_clock_flags (GType* id) |
|
241 { |
256 static const GFlagsValue values[] = { |
242 static const GFlagsValue values[] = { |
257 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC), "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", "can-do-single-sync" }, |
243 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC), "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", "can-do-single-sync" }, |
258 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC), "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", "can-do-single-async" }, |
244 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC), "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", "can-do-single-async" }, |
259 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC), "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "can-do-periodic-sync" }, |
245 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC), "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "can-do-periodic-sync" }, |
260 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC), "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "can-do-periodic-async" }, |
246 { C_FLAGS(GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC), "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "can-do-periodic-async" }, |
261 { C_FLAGS(GST_CLOCK_FLAG_CAN_SET_RESOLUTION), "GST_CLOCK_FLAG_CAN_SET_RESOLUTION", "can-set-resolution" }, |
247 { C_FLAGS(GST_CLOCK_FLAG_CAN_SET_RESOLUTION), "GST_CLOCK_FLAG_CAN_SET_RESOLUTION", "can-set-resolution" }, |
262 { C_FLAGS(GST_CLOCK_FLAG_CAN_SET_MASTER), "GST_CLOCK_FLAG_CAN_SET_MASTER", "can-set-master" }, |
248 { C_FLAGS(GST_CLOCK_FLAG_CAN_SET_MASTER), "GST_CLOCK_FLAG_CAN_SET_MASTER", "can-set-master" }, |
263 { C_FLAGS(GST_CLOCK_FLAG_LAST), "GST_CLOCK_FLAG_LAST", "last" }, |
249 { C_FLAGS(GST_CLOCK_FLAG_LAST), "GST_CLOCK_FLAG_LAST", "last" }, |
264 { 0, NULL, NULL } |
250 { 0, NULL, NULL } |
265 }; |
251 }; |
266 |
252 *id = g_flags_register_static ("GstClockFlags", values); |
267 if (g_once_init_enter (&id)) { |
253 } |
268 GType tmp = g_flags_register_static ("GstClockFlags", values); |
254 #ifdef __SYMBIAN32__ |
269 g_once_init_leave (&id, tmp); |
255 EXPORT_C |
270 } |
256 #endif |
271 |
257 |
272 return (GType) id; |
258 GType |
|
259 gst_clock_flags_get_type (void) |
|
260 { |
|
261 static GType id; |
|
262 static GOnce once = G_ONCE_INIT; |
|
263 |
|
264 g_once (&once, (GThreadFunc)register_gst_clock_flags, &id); |
|
265 return id; |
273 } |
266 } |
274 |
267 |
275 /* enumerations from "gstdebugutils.h" */ |
268 /* enumerations from "gstdebugutils.h" */ |
276 #ifdef __SYMBIAN32__ |
269 static void |
277 EXPORT_C |
270 register_gst_debug_graph_details (GType* id) |
278 #endif |
271 { |
279 |
|
280 GType |
|
281 gst_debug_graph_details_get_type (void) |
|
282 { |
|
283 static gsize id = 0; |
|
284 static const GFlagsValue values[] = { |
272 static const GFlagsValue values[] = { |
285 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE), "GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE", "media-type" }, |
273 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE), "GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE", "media-type" }, |
286 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS), "GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS", "caps-details" }, |
274 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS), "GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS", "caps-details" }, |
287 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS), "GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS", "non-default-params" }, |
275 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS), "GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS", "non-default-params" }, |
288 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_STATES), "GST_DEBUG_GRAPH_SHOW_STATES", "states" }, |
276 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_STATES), "GST_DEBUG_GRAPH_SHOW_STATES", "states" }, |
289 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_ALL), "GST_DEBUG_GRAPH_SHOW_ALL", "all" }, |
277 { C_FLAGS(GST_DEBUG_GRAPH_SHOW_ALL), "GST_DEBUG_GRAPH_SHOW_ALL", "all" }, |
290 { 0, NULL, NULL } |
278 { 0, NULL, NULL } |
291 }; |
279 }; |
292 |
280 *id = g_flags_register_static ("GstDebugGraphDetails", values); |
293 if (g_once_init_enter (&id)) { |
281 } |
294 GType tmp = g_flags_register_static ("GstDebugGraphDetails", values); |
282 #ifdef __SYMBIAN32__ |
295 g_once_init_leave (&id, tmp); |
283 EXPORT_C |
296 } |
284 #endif |
297 |
285 |
298 return (GType) id; |
286 GType |
|
287 gst_debug_graph_details_get_type (void) |
|
288 { |
|
289 static GType id; |
|
290 static GOnce once = G_ONCE_INIT; |
|
291 |
|
292 g_once (&once, (GThreadFunc)register_gst_debug_graph_details, &id); |
|
293 return id; |
299 } |
294 } |
300 |
295 |
301 /* enumerations from "gstelement.h" */ |
296 /* enumerations from "gstelement.h" */ |
302 #ifdef __SYMBIAN32__ |
297 static void |
303 EXPORT_C |
298 register_gst_state (GType* id) |
304 #endif |
299 { |
305 |
|
306 GType |
|
307 gst_state_get_type (void) |
|
308 { |
|
309 static gsize id = 0; |
|
310 static const GEnumValue values[] = { |
300 static const GEnumValue values[] = { |
311 { C_ENUM(GST_STATE_VOID_PENDING), "GST_STATE_VOID_PENDING", "void-pending" }, |
301 { C_ENUM(GST_STATE_VOID_PENDING), "GST_STATE_VOID_PENDING", "void-pending" }, |
312 { C_ENUM(GST_STATE_NULL), "GST_STATE_NULL", "null" }, |
302 { C_ENUM(GST_STATE_NULL), "GST_STATE_NULL", "null" }, |
313 { C_ENUM(GST_STATE_READY), "GST_STATE_READY", "ready" }, |
303 { C_ENUM(GST_STATE_READY), "GST_STATE_READY", "ready" }, |
314 { C_ENUM(GST_STATE_PAUSED), "GST_STATE_PAUSED", "paused" }, |
304 { C_ENUM(GST_STATE_PAUSED), "GST_STATE_PAUSED", "paused" }, |
315 { C_ENUM(GST_STATE_PLAYING), "GST_STATE_PLAYING", "playing" }, |
305 { C_ENUM(GST_STATE_PLAYING), "GST_STATE_PLAYING", "playing" }, |
316 { 0, NULL, NULL } |
306 { 0, NULL, NULL } |
317 }; |
307 }; |
318 |
308 *id = g_enum_register_static ("GstState", values); |
319 if (g_once_init_enter (&id)) { |
309 } |
320 GType tmp = g_enum_register_static ("GstState", values); |
310 #ifdef __SYMBIAN32__ |
321 g_once_init_leave (&id, tmp); |
311 EXPORT_C |
322 } |
312 #endif |
323 |
313 |
324 return (GType) id; |
314 GType |
325 } |
315 gst_state_get_type (void) |
326 #ifdef __SYMBIAN32__ |
316 { |
327 EXPORT_C |
317 static GType id; |
328 #endif |
318 static GOnce once = G_ONCE_INIT; |
329 |
319 |
330 GType |
320 g_once (&once, (GThreadFunc)register_gst_state, &id); |
331 gst_state_change_return_get_type (void) |
321 return id; |
332 { |
322 } |
333 static gsize id = 0; |
323 static void |
|
324 register_gst_state_change_return (GType* id) |
|
325 { |
334 static const GEnumValue values[] = { |
326 static const GEnumValue values[] = { |
335 { C_ENUM(GST_STATE_CHANGE_FAILURE), "GST_STATE_CHANGE_FAILURE", "failure" }, |
327 { C_ENUM(GST_STATE_CHANGE_FAILURE), "GST_STATE_CHANGE_FAILURE", "failure" }, |
336 { C_ENUM(GST_STATE_CHANGE_SUCCESS), "GST_STATE_CHANGE_SUCCESS", "success" }, |
328 { C_ENUM(GST_STATE_CHANGE_SUCCESS), "GST_STATE_CHANGE_SUCCESS", "success" }, |
337 { C_ENUM(GST_STATE_CHANGE_ASYNC), "GST_STATE_CHANGE_ASYNC", "async" }, |
329 { C_ENUM(GST_STATE_CHANGE_ASYNC), "GST_STATE_CHANGE_ASYNC", "async" }, |
338 { C_ENUM(GST_STATE_CHANGE_NO_PREROLL), "GST_STATE_CHANGE_NO_PREROLL", "no-preroll" }, |
330 { C_ENUM(GST_STATE_CHANGE_NO_PREROLL), "GST_STATE_CHANGE_NO_PREROLL", "no-preroll" }, |
339 { 0, NULL, NULL } |
331 { 0, NULL, NULL } |
340 }; |
332 }; |
341 |
333 *id = g_enum_register_static ("GstStateChangeReturn", values); |
342 if (g_once_init_enter (&id)) { |
334 } |
343 GType tmp = g_enum_register_static ("GstStateChangeReturn", values); |
335 #ifdef __SYMBIAN32__ |
344 g_once_init_leave (&id, tmp); |
336 EXPORT_C |
345 } |
337 #endif |
346 |
338 |
347 return (GType) id; |
339 GType |
348 } |
340 gst_state_change_return_get_type (void) |
349 #ifdef __SYMBIAN32__ |
341 { |
350 EXPORT_C |
342 static GType id; |
351 #endif |
343 static GOnce once = G_ONCE_INIT; |
352 |
344 |
353 GType |
345 g_once (&once, (GThreadFunc)register_gst_state_change_return, &id); |
354 gst_state_change_get_type (void) |
346 return id; |
355 { |
347 } |
356 static gsize id = 0; |
348 static void |
|
349 register_gst_state_change (GType* id) |
|
350 { |
357 static const GEnumValue values[] = { |
351 static const GEnumValue values[] = { |
358 { C_ENUM(GST_STATE_CHANGE_NULL_TO_READY), "GST_STATE_CHANGE_NULL_TO_READY", "null-to-ready" }, |
352 { C_ENUM(GST_STATE_CHANGE_NULL_TO_READY), "GST_STATE_CHANGE_NULL_TO_READY", "null-to-ready" }, |
359 { C_ENUM(GST_STATE_CHANGE_READY_TO_PAUSED), "GST_STATE_CHANGE_READY_TO_PAUSED", "ready-to-paused" }, |
353 { C_ENUM(GST_STATE_CHANGE_READY_TO_PAUSED), "GST_STATE_CHANGE_READY_TO_PAUSED", "ready-to-paused" }, |
360 { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_PLAYING), "GST_STATE_CHANGE_PAUSED_TO_PLAYING", "paused-to-playing" }, |
354 { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_PLAYING), "GST_STATE_CHANGE_PAUSED_TO_PLAYING", "paused-to-playing" }, |
361 { C_ENUM(GST_STATE_CHANGE_PLAYING_TO_PAUSED), "GST_STATE_CHANGE_PLAYING_TO_PAUSED", "playing-to-paused" }, |
355 { C_ENUM(GST_STATE_CHANGE_PLAYING_TO_PAUSED), "GST_STATE_CHANGE_PLAYING_TO_PAUSED", "playing-to-paused" }, |
362 { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_READY), "GST_STATE_CHANGE_PAUSED_TO_READY", "paused-to-ready" }, |
356 { C_ENUM(GST_STATE_CHANGE_PAUSED_TO_READY), "GST_STATE_CHANGE_PAUSED_TO_READY", "paused-to-ready" }, |
363 { C_ENUM(GST_STATE_CHANGE_READY_TO_NULL), "GST_STATE_CHANGE_READY_TO_NULL", "ready-to-null" }, |
357 { C_ENUM(GST_STATE_CHANGE_READY_TO_NULL), "GST_STATE_CHANGE_READY_TO_NULL", "ready-to-null" }, |
364 { 0, NULL, NULL } |
358 { 0, NULL, NULL } |
365 }; |
359 }; |
366 |
360 *id = g_enum_register_static ("GstStateChange", values); |
367 if (g_once_init_enter (&id)) { |
361 } |
368 GType tmp = g_enum_register_static ("GstStateChange", values); |
362 #ifdef __SYMBIAN32__ |
369 g_once_init_leave (&id, tmp); |
363 EXPORT_C |
370 } |
364 #endif |
371 |
365 |
372 return (GType) id; |
366 GType |
373 } |
367 gst_state_change_get_type (void) |
374 #ifdef __SYMBIAN32__ |
368 { |
375 EXPORT_C |
369 static GType id; |
376 #endif |
370 static GOnce once = G_ONCE_INIT; |
377 |
371 |
378 GType |
372 g_once (&once, (GThreadFunc)register_gst_state_change, &id); |
379 gst_element_flags_get_type (void) |
373 return id; |
380 { |
374 } |
381 static gsize id = 0; |
375 static void |
|
376 register_gst_element_flags (GType* id) |
|
377 { |
382 static const GFlagsValue values[] = { |
378 static const GFlagsValue values[] = { |
383 { C_FLAGS(GST_ELEMENT_LOCKED_STATE), "GST_ELEMENT_LOCKED_STATE", "locked-state" }, |
379 { C_FLAGS(GST_ELEMENT_LOCKED_STATE), "GST_ELEMENT_LOCKED_STATE", "locked-state" }, |
384 { C_FLAGS(GST_ELEMENT_IS_SINK), "GST_ELEMENT_IS_SINK", "is-sink" }, |
380 { C_FLAGS(GST_ELEMENT_IS_SINK), "GST_ELEMENT_IS_SINK", "is-sink" }, |
385 { C_FLAGS(GST_ELEMENT_UNPARENTING), "GST_ELEMENT_UNPARENTING", "unparenting" }, |
381 { C_FLAGS(GST_ELEMENT_UNPARENTING), "GST_ELEMENT_UNPARENTING", "unparenting" }, |
386 { C_FLAGS(GST_ELEMENT_FLAG_LAST), "GST_ELEMENT_FLAG_LAST", "flag-last" }, |
382 { C_FLAGS(GST_ELEMENT_FLAG_LAST), "GST_ELEMENT_FLAG_LAST", "flag-last" }, |
387 { 0, NULL, NULL } |
383 { 0, NULL, NULL } |
388 }; |
384 }; |
389 |
385 *id = g_flags_register_static ("GstElementFlags", values); |
390 if (g_once_init_enter (&id)) { |
386 } |
391 GType tmp = g_flags_register_static ("GstElementFlags", values); |
387 #ifdef __SYMBIAN32__ |
392 g_once_init_leave (&id, tmp); |
388 EXPORT_C |
393 } |
389 #endif |
394 |
390 |
395 return (GType) id; |
391 GType |
|
392 gst_element_flags_get_type (void) |
|
393 { |
|
394 static GType id; |
|
395 static GOnce once = G_ONCE_INIT; |
|
396 |
|
397 g_once (&once, (GThreadFunc)register_gst_element_flags, &id); |
|
398 return id; |
396 } |
399 } |
397 |
400 |
398 /* enumerations from "gsterror.h" */ |
401 /* enumerations from "gsterror.h" */ |
399 #ifdef __SYMBIAN32__ |
402 static void |
400 EXPORT_C |
403 register_gst_core_error (GType* id) |
401 #endif |
404 { |
402 |
|
403 GType |
|
404 gst_core_error_get_type (void) |
|
405 { |
|
406 static gsize id = 0; |
|
407 static const GEnumValue values[] = { |
405 static const GEnumValue values[] = { |
408 { C_ENUM(GST_CORE_ERROR_FAILED), "GST_CORE_ERROR_FAILED", "failed" }, |
406 { C_ENUM(GST_CORE_ERROR_FAILED), "GST_CORE_ERROR_FAILED", "failed" }, |
409 { C_ENUM(GST_CORE_ERROR_TOO_LAZY), "GST_CORE_ERROR_TOO_LAZY", "too-lazy" }, |
407 { C_ENUM(GST_CORE_ERROR_TOO_LAZY), "GST_CORE_ERROR_TOO_LAZY", "too-lazy" }, |
410 { C_ENUM(GST_CORE_ERROR_NOT_IMPLEMENTED), "GST_CORE_ERROR_NOT_IMPLEMENTED", "not-implemented" }, |
408 { C_ENUM(GST_CORE_ERROR_NOT_IMPLEMENTED), "GST_CORE_ERROR_NOT_IMPLEMENTED", "not-implemented" }, |
411 { C_ENUM(GST_CORE_ERROR_STATE_CHANGE), "GST_CORE_ERROR_STATE_CHANGE", "state-change" }, |
409 { C_ENUM(GST_CORE_ERROR_STATE_CHANGE), "GST_CORE_ERROR_STATE_CHANGE", "state-change" }, |
565 { C_ENUM(GST_EVENT_BUFFERSIZE), "GST_EVENT_BUFFERSIZE", "buffersize" }, |
571 { C_ENUM(GST_EVENT_BUFFERSIZE), "GST_EVENT_BUFFERSIZE", "buffersize" }, |
566 { C_ENUM(GST_EVENT_QOS), "GST_EVENT_QOS", "qos" }, |
572 { C_ENUM(GST_EVENT_QOS), "GST_EVENT_QOS", "qos" }, |
567 { C_ENUM(GST_EVENT_SEEK), "GST_EVENT_SEEK", "seek" }, |
573 { C_ENUM(GST_EVENT_SEEK), "GST_EVENT_SEEK", "seek" }, |
568 { C_ENUM(GST_EVENT_NAVIGATION), "GST_EVENT_NAVIGATION", "navigation" }, |
574 { C_ENUM(GST_EVENT_NAVIGATION), "GST_EVENT_NAVIGATION", "navigation" }, |
569 { C_ENUM(GST_EVENT_LATENCY), "GST_EVENT_LATENCY", "latency" }, |
575 { C_ENUM(GST_EVENT_LATENCY), "GST_EVENT_LATENCY", "latency" }, |
570 { C_ENUM(GST_EVENT_STEP), "GST_EVENT_STEP", "step" }, |
|
571 { C_ENUM(GST_EVENT_CUSTOM_UPSTREAM), "GST_EVENT_CUSTOM_UPSTREAM", "custom-upstream" }, |
576 { C_ENUM(GST_EVENT_CUSTOM_UPSTREAM), "GST_EVENT_CUSTOM_UPSTREAM", "custom-upstream" }, |
572 { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM), "GST_EVENT_CUSTOM_DOWNSTREAM", "custom-downstream" }, |
577 { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM), "GST_EVENT_CUSTOM_DOWNSTREAM", "custom-downstream" }, |
573 { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM_OOB), "GST_EVENT_CUSTOM_DOWNSTREAM_OOB", "custom-downstream-oob" }, |
578 { C_ENUM(GST_EVENT_CUSTOM_DOWNSTREAM_OOB), "GST_EVENT_CUSTOM_DOWNSTREAM_OOB", "custom-downstream-oob" }, |
574 { C_ENUM(GST_EVENT_CUSTOM_BOTH), "GST_EVENT_CUSTOM_BOTH", "custom-both" }, |
579 { C_ENUM(GST_EVENT_CUSTOM_BOTH), "GST_EVENT_CUSTOM_BOTH", "custom-both" }, |
575 { C_ENUM(GST_EVENT_CUSTOM_BOTH_OOB), "GST_EVENT_CUSTOM_BOTH_OOB", "custom-both-oob" }, |
580 { C_ENUM(GST_EVENT_CUSTOM_BOTH_OOB), "GST_EVENT_CUSTOM_BOTH_OOB", "custom-both-oob" }, |
576 { 0, NULL, NULL } |
581 { 0, NULL, NULL } |
577 }; |
582 }; |
578 |
583 *id = g_enum_register_static ("GstEventType", values); |
579 if (g_once_init_enter (&id)) { |
584 } |
580 GType tmp = g_enum_register_static ("GstEventType", values); |
585 #ifdef __SYMBIAN32__ |
581 g_once_init_leave (&id, tmp); |
586 EXPORT_C |
582 } |
587 #endif |
583 |
588 |
584 return (GType) id; |
589 GType |
585 } |
590 gst_event_type_get_type (void) |
586 #ifdef __SYMBIAN32__ |
591 { |
587 EXPORT_C |
592 static GType id; |
588 #endif |
593 static GOnce once = G_ONCE_INIT; |
589 |
594 |
590 GType |
595 g_once (&once, (GThreadFunc)register_gst_event_type, &id); |
591 gst_seek_type_get_type (void) |
596 return id; |
592 { |
597 } |
593 static gsize id = 0; |
598 static void |
|
599 register_gst_seek_type (GType* id) |
|
600 { |
594 static const GEnumValue values[] = { |
601 static const GEnumValue values[] = { |
595 { C_ENUM(GST_SEEK_TYPE_NONE), "GST_SEEK_TYPE_NONE", "none" }, |
602 { C_ENUM(GST_SEEK_TYPE_NONE), "GST_SEEK_TYPE_NONE", "none" }, |
596 { C_ENUM(GST_SEEK_TYPE_CUR), "GST_SEEK_TYPE_CUR", "cur" }, |
603 { C_ENUM(GST_SEEK_TYPE_CUR), "GST_SEEK_TYPE_CUR", "cur" }, |
597 { C_ENUM(GST_SEEK_TYPE_SET), "GST_SEEK_TYPE_SET", "set" }, |
604 { C_ENUM(GST_SEEK_TYPE_SET), "GST_SEEK_TYPE_SET", "set" }, |
598 { C_ENUM(GST_SEEK_TYPE_END), "GST_SEEK_TYPE_END", "end" }, |
605 { C_ENUM(GST_SEEK_TYPE_END), "GST_SEEK_TYPE_END", "end" }, |
599 { 0, NULL, NULL } |
606 { 0, NULL, NULL } |
600 }; |
607 }; |
601 |
608 *id = g_enum_register_static ("GstSeekType", values); |
602 if (g_once_init_enter (&id)) { |
609 } |
603 GType tmp = g_enum_register_static ("GstSeekType", values); |
610 #ifdef __SYMBIAN32__ |
604 g_once_init_leave (&id, tmp); |
611 EXPORT_C |
605 } |
612 #endif |
606 |
613 |
607 return (GType) id; |
614 GType |
608 } |
615 gst_seek_type_get_type (void) |
609 #ifdef __SYMBIAN32__ |
616 { |
610 EXPORT_C |
617 static GType id; |
611 #endif |
618 static GOnce once = G_ONCE_INIT; |
612 |
619 |
613 GType |
620 g_once (&once, (GThreadFunc)register_gst_seek_type, &id); |
614 gst_seek_flags_get_type (void) |
621 return id; |
615 { |
622 } |
616 static gsize id = 0; |
623 static void |
|
624 register_gst_seek_flags (GType* id) |
|
625 { |
617 static const GFlagsValue values[] = { |
626 static const GFlagsValue values[] = { |
618 { C_FLAGS(GST_SEEK_FLAG_NONE), "GST_SEEK_FLAG_NONE", "none" }, |
627 { C_FLAGS(GST_SEEK_FLAG_NONE), "GST_SEEK_FLAG_NONE", "none" }, |
619 { C_FLAGS(GST_SEEK_FLAG_FLUSH), "GST_SEEK_FLAG_FLUSH", "flush" }, |
628 { C_FLAGS(GST_SEEK_FLAG_FLUSH), "GST_SEEK_FLAG_FLUSH", "flush" }, |
620 { C_FLAGS(GST_SEEK_FLAG_ACCURATE), "GST_SEEK_FLAG_ACCURATE", "accurate" }, |
629 { C_FLAGS(GST_SEEK_FLAG_ACCURATE), "GST_SEEK_FLAG_ACCURATE", "accurate" }, |
621 { C_FLAGS(GST_SEEK_FLAG_KEY_UNIT), "GST_SEEK_FLAG_KEY_UNIT", "key-unit" }, |
630 { C_FLAGS(GST_SEEK_FLAG_KEY_UNIT), "GST_SEEK_FLAG_KEY_UNIT", "key-unit" }, |
622 { C_FLAGS(GST_SEEK_FLAG_SEGMENT), "GST_SEEK_FLAG_SEGMENT", "segment" }, |
631 { C_FLAGS(GST_SEEK_FLAG_SEGMENT), "GST_SEEK_FLAG_SEGMENT", "segment" }, |
623 { C_FLAGS(GST_SEEK_FLAG_SKIP), "GST_SEEK_FLAG_SKIP", "skip" }, |
632 { 0, NULL, NULL } |
624 { 0, NULL, NULL } |
633 }; |
625 }; |
634 *id = g_flags_register_static ("GstSeekFlags", values); |
626 |
635 } |
627 if (g_once_init_enter (&id)) { |
636 #ifdef __SYMBIAN32__ |
628 GType tmp = g_flags_register_static ("GstSeekFlags", values); |
637 EXPORT_C |
629 g_once_init_leave (&id, tmp); |
638 #endif |
630 } |
639 |
631 |
640 GType |
632 return (GType) id; |
641 gst_seek_flags_get_type (void) |
|
642 { |
|
643 static GType id; |
|
644 static GOnce once = G_ONCE_INIT; |
|
645 |
|
646 g_once (&once, (GThreadFunc)register_gst_seek_flags, &id); |
|
647 return id; |
633 } |
648 } |
634 |
649 |
635 /* enumerations from "gstformat.h" */ |
650 /* enumerations from "gstformat.h" */ |
636 #ifdef __SYMBIAN32__ |
651 static void |
637 EXPORT_C |
652 register_gst_format (GType* id) |
638 #endif |
653 { |
639 |
|
640 GType |
|
641 gst_format_get_type (void) |
|
642 { |
|
643 static gsize id = 0; |
|
644 static const GEnumValue values[] = { |
654 static const GEnumValue values[] = { |
645 { C_ENUM(GST_FORMAT_UNDEFINED), "GST_FORMAT_UNDEFINED", "undefined" }, |
655 { C_ENUM(GST_FORMAT_UNDEFINED), "GST_FORMAT_UNDEFINED", "undefined" }, |
646 { C_ENUM(GST_FORMAT_DEFAULT), "GST_FORMAT_DEFAULT", "default" }, |
656 { C_ENUM(GST_FORMAT_DEFAULT), "GST_FORMAT_DEFAULT", "default" }, |
647 { C_ENUM(GST_FORMAT_BYTES), "GST_FORMAT_BYTES", "bytes" }, |
657 { C_ENUM(GST_FORMAT_BYTES), "GST_FORMAT_BYTES", "bytes" }, |
648 { C_ENUM(GST_FORMAT_TIME), "GST_FORMAT_TIME", "time" }, |
658 { C_ENUM(GST_FORMAT_TIME), "GST_FORMAT_TIME", "time" }, |
649 { C_ENUM(GST_FORMAT_BUFFERS), "GST_FORMAT_BUFFERS", "buffers" }, |
659 { C_ENUM(GST_FORMAT_BUFFERS), "GST_FORMAT_BUFFERS", "buffers" }, |
650 { C_ENUM(GST_FORMAT_PERCENT), "GST_FORMAT_PERCENT", "percent" }, |
660 { C_ENUM(GST_FORMAT_PERCENT), "GST_FORMAT_PERCENT", "percent" }, |
651 { 0, NULL, NULL } |
661 { 0, NULL, NULL } |
652 }; |
662 }; |
653 |
663 *id = g_enum_register_static ("GstFormat", values); |
654 if (g_once_init_enter (&id)) { |
664 } |
655 GType tmp = g_enum_register_static ("GstFormat", values); |
665 #ifdef __SYMBIAN32__ |
656 g_once_init_leave (&id, tmp); |
666 EXPORT_C |
657 } |
667 #endif |
658 |
668 |
659 return (GType) id; |
669 GType |
|
670 gst_format_get_type (void) |
|
671 { |
|
672 static GType id; |
|
673 static GOnce once = G_ONCE_INIT; |
|
674 |
|
675 g_once (&once, (GThreadFunc)register_gst_format, &id); |
|
676 return id; |
660 } |
677 } |
661 |
678 |
662 /* enumerations from "gstindex.h" */ |
679 /* enumerations from "gstindex.h" */ |
663 #ifdef __SYMBIAN32__ |
680 static void |
664 EXPORT_C |
681 register_gst_index_certainty (GType* id) |
665 #endif |
682 { |
666 |
|
667 GType |
|
668 gst_index_certainty_get_type (void) |
|
669 { |
|
670 static gsize id = 0; |
|
671 static const GEnumValue values[] = { |
683 static const GEnumValue values[] = { |
672 { C_ENUM(GST_INDEX_UNKNOWN), "GST_INDEX_UNKNOWN", "unknown" }, |
684 { C_ENUM(GST_INDEX_UNKNOWN), "GST_INDEX_UNKNOWN", "unknown" }, |
673 { C_ENUM(GST_INDEX_CERTAIN), "GST_INDEX_CERTAIN", "certain" }, |
685 { C_ENUM(GST_INDEX_CERTAIN), "GST_INDEX_CERTAIN", "certain" }, |
674 { C_ENUM(GST_INDEX_FUZZY), "GST_INDEX_FUZZY", "fuzzy" }, |
686 { C_ENUM(GST_INDEX_FUZZY), "GST_INDEX_FUZZY", "fuzzy" }, |
675 { 0, NULL, NULL } |
687 { 0, NULL, NULL } |
676 }; |
688 }; |
677 |
689 *id = g_enum_register_static ("GstIndexCertainty", values); |
678 if (g_once_init_enter (&id)) { |
690 } |
679 GType tmp = g_enum_register_static ("GstIndexCertainty", values); |
691 #ifdef __SYMBIAN32__ |
680 g_once_init_leave (&id, tmp); |
692 EXPORT_C |
681 } |
693 #endif |
682 |
694 |
683 return (GType) id; |
695 GType |
684 } |
696 gst_index_certainty_get_type (void) |
685 #ifdef __SYMBIAN32__ |
697 { |
686 EXPORT_C |
698 static GType id; |
687 #endif |
699 static GOnce once = G_ONCE_INIT; |
688 |
700 |
689 GType |
701 g_once (&once, (GThreadFunc)register_gst_index_certainty, &id); |
690 gst_index_entry_type_get_type (void) |
702 return id; |
691 { |
703 } |
692 static gsize id = 0; |
704 static void |
|
705 register_gst_index_entry_type (GType* id) |
|
706 { |
693 static const GEnumValue values[] = { |
707 static const GEnumValue values[] = { |
694 { C_ENUM(GST_INDEX_ENTRY_ID), "GST_INDEX_ENTRY_ID", "id" }, |
708 { C_ENUM(GST_INDEX_ENTRY_ID), "GST_INDEX_ENTRY_ID", "id" }, |
695 { C_ENUM(GST_INDEX_ENTRY_ASSOCIATION), "GST_INDEX_ENTRY_ASSOCIATION", "association" }, |
709 { C_ENUM(GST_INDEX_ENTRY_ASSOCIATION), "GST_INDEX_ENTRY_ASSOCIATION", "association" }, |
696 { C_ENUM(GST_INDEX_ENTRY_OBJECT), "GST_INDEX_ENTRY_OBJECT", "object" }, |
710 { C_ENUM(GST_INDEX_ENTRY_OBJECT), "GST_INDEX_ENTRY_OBJECT", "object" }, |
697 { C_ENUM(GST_INDEX_ENTRY_FORMAT), "GST_INDEX_ENTRY_FORMAT", "format" }, |
711 { C_ENUM(GST_INDEX_ENTRY_FORMAT), "GST_INDEX_ENTRY_FORMAT", "format" }, |
698 { 0, NULL, NULL } |
712 { 0, NULL, NULL } |
699 }; |
713 }; |
700 |
714 *id = g_enum_register_static ("GstIndexEntryType", values); |
701 if (g_once_init_enter (&id)) { |
715 } |
702 GType tmp = g_enum_register_static ("GstIndexEntryType", values); |
716 #ifdef __SYMBIAN32__ |
703 g_once_init_leave (&id, tmp); |
717 EXPORT_C |
704 } |
718 #endif |
705 |
719 |
706 return (GType) id; |
720 GType |
707 } |
721 gst_index_entry_type_get_type (void) |
708 #ifdef __SYMBIAN32__ |
722 { |
709 EXPORT_C |
723 static GType id; |
710 #endif |
724 static GOnce once = G_ONCE_INIT; |
711 |
725 |
712 GType |
726 g_once (&once, (GThreadFunc)register_gst_index_entry_type, &id); |
713 gst_index_lookup_method_get_type (void) |
727 return id; |
714 { |
728 } |
715 static gsize id = 0; |
729 static void |
|
730 register_gst_index_lookup_method (GType* id) |
|
731 { |
716 static const GEnumValue values[] = { |
732 static const GEnumValue values[] = { |
717 { C_ENUM(GST_INDEX_LOOKUP_EXACT), "GST_INDEX_LOOKUP_EXACT", "exact" }, |
733 { C_ENUM(GST_INDEX_LOOKUP_EXACT), "GST_INDEX_LOOKUP_EXACT", "exact" }, |
718 { C_ENUM(GST_INDEX_LOOKUP_BEFORE), "GST_INDEX_LOOKUP_BEFORE", "before" }, |
734 { C_ENUM(GST_INDEX_LOOKUP_BEFORE), "GST_INDEX_LOOKUP_BEFORE", "before" }, |
719 { C_ENUM(GST_INDEX_LOOKUP_AFTER), "GST_INDEX_LOOKUP_AFTER", "after" }, |
735 { C_ENUM(GST_INDEX_LOOKUP_AFTER), "GST_INDEX_LOOKUP_AFTER", "after" }, |
720 { 0, NULL, NULL } |
736 { 0, NULL, NULL } |
721 }; |
737 }; |
722 |
738 *id = g_enum_register_static ("GstIndexLookupMethod", values); |
723 if (g_once_init_enter (&id)) { |
739 } |
724 GType tmp = g_enum_register_static ("GstIndexLookupMethod", values); |
740 #ifdef __SYMBIAN32__ |
725 g_once_init_leave (&id, tmp); |
741 EXPORT_C |
726 } |
742 #endif |
727 |
743 |
728 return (GType) id; |
744 GType |
729 } |
745 gst_index_lookup_method_get_type (void) |
730 #ifdef __SYMBIAN32__ |
746 { |
731 EXPORT_C |
747 static GType id; |
732 #endif |
748 static GOnce once = G_ONCE_INIT; |
733 |
749 |
734 GType |
750 g_once (&once, (GThreadFunc)register_gst_index_lookup_method, &id); |
735 gst_assoc_flags_get_type (void) |
751 return id; |
736 { |
752 } |
737 static gsize id = 0; |
753 static void |
|
754 register_gst_assoc_flags (GType* id) |
|
755 { |
738 static const GFlagsValue values[] = { |
756 static const GFlagsValue values[] = { |
739 { C_FLAGS(GST_ASSOCIATION_FLAG_NONE), "GST_ASSOCIATION_FLAG_NONE", "none" }, |
757 { C_FLAGS(GST_ASSOCIATION_FLAG_NONE), "GST_ASSOCIATION_FLAG_NONE", "none" }, |
740 { C_FLAGS(GST_ASSOCIATION_FLAG_KEY_UNIT), "GST_ASSOCIATION_FLAG_KEY_UNIT", "key-unit" }, |
758 { C_FLAGS(GST_ASSOCIATION_FLAG_KEY_UNIT), "GST_ASSOCIATION_FLAG_KEY_UNIT", "key-unit" }, |
741 { C_FLAGS(GST_ASSOCIATION_FLAG_DELTA_UNIT), "GST_ASSOCIATION_FLAG_DELTA_UNIT", "delta-unit" }, |
759 { C_FLAGS(GST_ASSOCIATION_FLAG_DELTA_UNIT), "GST_ASSOCIATION_FLAG_DELTA_UNIT", "delta-unit" }, |
742 { C_FLAGS(GST_ASSOCIATION_FLAG_LAST), "GST_ASSOCIATION_FLAG_LAST", "last" }, |
760 { C_FLAGS(GST_ASSOCIATION_FLAG_LAST), "GST_ASSOCIATION_FLAG_LAST", "last" }, |
743 { 0, NULL, NULL } |
761 { 0, NULL, NULL } |
744 }; |
762 }; |
745 |
763 *id = g_flags_register_static ("GstAssocFlags", values); |
746 if (g_once_init_enter (&id)) { |
764 } |
747 GType tmp = g_flags_register_static ("GstAssocFlags", values); |
765 #ifdef __SYMBIAN32__ |
748 g_once_init_leave (&id, tmp); |
766 EXPORT_C |
749 } |
767 #endif |
750 |
768 |
751 return (GType) id; |
769 GType |
752 } |
770 gst_assoc_flags_get_type (void) |
753 #ifdef __SYMBIAN32__ |
771 { |
754 EXPORT_C |
772 static GType id; |
755 #endif |
773 static GOnce once = G_ONCE_INIT; |
756 |
774 |
757 GType |
775 g_once (&once, (GThreadFunc)register_gst_assoc_flags, &id); |
758 gst_index_resolver_method_get_type (void) |
776 return id; |
759 { |
777 } |
760 static gsize id = 0; |
778 static void |
|
779 register_gst_index_resolver_method (GType* id) |
|
780 { |
761 static const GEnumValue values[] = { |
781 static const GEnumValue values[] = { |
762 { C_ENUM(GST_INDEX_RESOLVER_CUSTOM), "GST_INDEX_RESOLVER_CUSTOM", "custom" }, |
782 { C_ENUM(GST_INDEX_RESOLVER_CUSTOM), "GST_INDEX_RESOLVER_CUSTOM", "custom" }, |
763 { C_ENUM(GST_INDEX_RESOLVER_GTYPE), "GST_INDEX_RESOLVER_GTYPE", "gtype" }, |
783 { C_ENUM(GST_INDEX_RESOLVER_GTYPE), "GST_INDEX_RESOLVER_GTYPE", "gtype" }, |
764 { C_ENUM(GST_INDEX_RESOLVER_PATH), "GST_INDEX_RESOLVER_PATH", "path" }, |
784 { C_ENUM(GST_INDEX_RESOLVER_PATH), "GST_INDEX_RESOLVER_PATH", "path" }, |
765 { 0, NULL, NULL } |
785 { 0, NULL, NULL } |
766 }; |
786 }; |
767 |
787 *id = g_enum_register_static ("GstIndexResolverMethod", values); |
768 if (g_once_init_enter (&id)) { |
788 } |
769 GType tmp = g_enum_register_static ("GstIndexResolverMethod", values); |
789 #ifdef __SYMBIAN32__ |
770 g_once_init_leave (&id, tmp); |
790 EXPORT_C |
771 } |
791 #endif |
772 |
792 |
773 return (GType) id; |
793 GType |
774 } |
794 gst_index_resolver_method_get_type (void) |
775 #ifdef __SYMBIAN32__ |
795 { |
776 EXPORT_C |
796 static GType id; |
777 #endif |
797 static GOnce once = G_ONCE_INIT; |
778 |
798 |
779 GType |
799 g_once (&once, (GThreadFunc)register_gst_index_resolver_method, &id); |
780 gst_index_flags_get_type (void) |
800 return id; |
781 { |
801 } |
782 static gsize id = 0; |
802 static void |
|
803 register_gst_index_flags (GType* id) |
|
804 { |
783 static const GFlagsValue values[] = { |
805 static const GFlagsValue values[] = { |
784 { C_FLAGS(GST_INDEX_WRITABLE), "GST_INDEX_WRITABLE", "writable" }, |
806 { C_FLAGS(GST_INDEX_WRITABLE), "GST_INDEX_WRITABLE", "writable" }, |
785 { C_FLAGS(GST_INDEX_READABLE), "GST_INDEX_READABLE", "readable" }, |
807 { C_FLAGS(GST_INDEX_READABLE), "GST_INDEX_READABLE", "readable" }, |
786 { C_FLAGS(GST_INDEX_FLAG_LAST), "GST_INDEX_FLAG_LAST", "flag-last" }, |
808 { C_FLAGS(GST_INDEX_FLAG_LAST), "GST_INDEX_FLAG_LAST", "flag-last" }, |
787 { 0, NULL, NULL } |
809 { 0, NULL, NULL } |
788 }; |
810 }; |
789 |
811 *id = g_flags_register_static ("GstIndexFlags", values); |
790 if (g_once_init_enter (&id)) { |
812 } |
791 GType tmp = g_flags_register_static ("GstIndexFlags", values); |
813 #ifdef __SYMBIAN32__ |
792 g_once_init_leave (&id, tmp); |
814 EXPORT_C |
793 } |
815 #endif |
794 |
816 |
795 return (GType) id; |
817 GType |
|
818 gst_index_flags_get_type (void) |
|
819 { |
|
820 static GType id; |
|
821 static GOnce once = G_ONCE_INIT; |
|
822 |
|
823 g_once (&once, (GThreadFunc)register_gst_index_flags, &id); |
|
824 return id; |
796 } |
825 } |
797 |
826 |
798 /* enumerations from "gstinfo.h" */ |
827 /* enumerations from "gstinfo.h" */ |
799 #ifdef __SYMBIAN32__ |
828 static void |
800 EXPORT_C |
829 register_gst_debug_level (GType* id) |
801 #endif |
830 { |
802 |
|
803 GType |
|
804 gst_debug_level_get_type (void) |
|
805 { |
|
806 static gsize id = 0; |
|
807 static const GEnumValue values[] = { |
831 static const GEnumValue values[] = { |
808 { C_ENUM(GST_LEVEL_NONE), "GST_LEVEL_NONE", "none" }, |
832 { C_ENUM(GST_LEVEL_NONE), "GST_LEVEL_NONE", "none" }, |
809 { C_ENUM(GST_LEVEL_ERROR), "GST_LEVEL_ERROR", "error" }, |
833 { C_ENUM(GST_LEVEL_ERROR), "GST_LEVEL_ERROR", "error" }, |
810 { C_ENUM(GST_LEVEL_WARNING), "GST_LEVEL_WARNING", "warning" }, |
834 { C_ENUM(GST_LEVEL_WARNING), "GST_LEVEL_WARNING", "warning" }, |
811 { C_ENUM(GST_LEVEL_INFO), "GST_LEVEL_INFO", "info" }, |
835 { C_ENUM(GST_LEVEL_INFO), "GST_LEVEL_INFO", "info" }, |
812 { C_ENUM(GST_LEVEL_DEBUG), "GST_LEVEL_DEBUG", "debug" }, |
836 { C_ENUM(GST_LEVEL_DEBUG), "GST_LEVEL_DEBUG", "debug" }, |
813 { C_ENUM(GST_LEVEL_LOG), "GST_LEVEL_LOG", "log" }, |
837 { C_ENUM(GST_LEVEL_LOG), "GST_LEVEL_LOG", "log" }, |
814 { C_ENUM(GST_LEVEL_FIXME), "GST_LEVEL_FIXME", "fixme" }, |
|
815 { C_ENUM(GST_LEVEL_MEMDUMP), "GST_LEVEL_MEMDUMP", "memdump" }, |
|
816 { C_ENUM(GST_LEVEL_COUNT), "GST_LEVEL_COUNT", "count" }, |
838 { C_ENUM(GST_LEVEL_COUNT), "GST_LEVEL_COUNT", "count" }, |
817 { 0, NULL, NULL } |
839 { 0, NULL, NULL } |
818 }; |
840 }; |
819 |
841 *id = g_enum_register_static ("GstDebugLevel", values); |
820 if (g_once_init_enter (&id)) { |
842 } |
821 GType tmp = g_enum_register_static ("GstDebugLevel", values); |
843 #ifdef __SYMBIAN32__ |
822 g_once_init_leave (&id, tmp); |
844 EXPORT_C |
823 } |
845 #endif |
824 |
846 |
825 return (GType) id; |
847 GType |
826 } |
848 gst_debug_level_get_type (void) |
827 #ifdef __SYMBIAN32__ |
849 { |
828 EXPORT_C |
850 static GType id; |
829 #endif |
851 static GOnce once = G_ONCE_INIT; |
830 |
852 |
831 GType |
853 g_once (&once, (GThreadFunc)register_gst_debug_level, &id); |
832 gst_debug_color_flags_get_type (void) |
854 return id; |
833 { |
855 } |
834 static gsize id = 0; |
856 static void |
|
857 register_gst_debug_color_flags (GType* id) |
|
858 { |
835 static const GEnumValue values[] = { |
859 static const GEnumValue values[] = { |
836 { C_ENUM(GST_DEBUG_FG_BLACK), "GST_DEBUG_FG_BLACK", "fg-black" }, |
860 { C_ENUM(GST_DEBUG_FG_BLACK), "GST_DEBUG_FG_BLACK", "fg-black" }, |
837 { C_ENUM(GST_DEBUG_FG_RED), "GST_DEBUG_FG_RED", "fg-red" }, |
861 { C_ENUM(GST_DEBUG_FG_RED), "GST_DEBUG_FG_RED", "fg-red" }, |
838 { C_ENUM(GST_DEBUG_FG_GREEN), "GST_DEBUG_FG_GREEN", "fg-green" }, |
862 { C_ENUM(GST_DEBUG_FG_GREEN), "GST_DEBUG_FG_GREEN", "fg-green" }, |
839 { C_ENUM(GST_DEBUG_FG_YELLOW), "GST_DEBUG_FG_YELLOW", "fg-yellow" }, |
863 { C_ENUM(GST_DEBUG_FG_YELLOW), "GST_DEBUG_FG_YELLOW", "fg-yellow" }, |
940 { C_FLAGS(GST_MESSAGE_SEGMENT_DONE), "GST_MESSAGE_SEGMENT_DONE", "segment-done" }, |
970 { C_FLAGS(GST_MESSAGE_SEGMENT_DONE), "GST_MESSAGE_SEGMENT_DONE", "segment-done" }, |
941 { C_FLAGS(GST_MESSAGE_DURATION), "GST_MESSAGE_DURATION", "duration" }, |
971 { C_FLAGS(GST_MESSAGE_DURATION), "GST_MESSAGE_DURATION", "duration" }, |
942 { C_FLAGS(GST_MESSAGE_LATENCY), "GST_MESSAGE_LATENCY", "latency" }, |
972 { C_FLAGS(GST_MESSAGE_LATENCY), "GST_MESSAGE_LATENCY", "latency" }, |
943 { C_FLAGS(GST_MESSAGE_ASYNC_START), "GST_MESSAGE_ASYNC_START", "async-start" }, |
973 { C_FLAGS(GST_MESSAGE_ASYNC_START), "GST_MESSAGE_ASYNC_START", "async-start" }, |
944 { C_FLAGS(GST_MESSAGE_ASYNC_DONE), "GST_MESSAGE_ASYNC_DONE", "async-done" }, |
974 { C_FLAGS(GST_MESSAGE_ASYNC_DONE), "GST_MESSAGE_ASYNC_DONE", "async-done" }, |
945 { C_FLAGS(GST_MESSAGE_REQUEST_STATE), "GST_MESSAGE_REQUEST_STATE", "request-state" }, |
|
946 { C_FLAGS(GST_MESSAGE_STEP_START), "GST_MESSAGE_STEP_START", "step-start" }, |
|
947 { C_FLAGS(GST_MESSAGE_ANY), "GST_MESSAGE_ANY", "any" }, |
975 { C_FLAGS(GST_MESSAGE_ANY), "GST_MESSAGE_ANY", "any" }, |
948 { 0, NULL, NULL } |
976 { 0, NULL, NULL } |
949 }; |
977 }; |
950 |
978 *id = g_flags_register_static ("GstMessageType", values); |
951 if (g_once_init_enter (&id)) { |
979 } |
952 GType tmp = g_flags_register_static ("GstMessageType", values); |
980 #ifdef __SYMBIAN32__ |
953 g_once_init_leave (&id, tmp); |
981 EXPORT_C |
954 } |
982 #endif |
955 |
983 |
956 return (GType) id; |
984 GType |
957 } |
985 gst_message_type_get_type (void) |
958 #ifdef __SYMBIAN32__ |
986 { |
959 EXPORT_C |
987 static GType id; |
960 #endif |
988 static GOnce once = G_ONCE_INIT; |
961 |
989 |
962 GType |
990 g_once (&once, (GThreadFunc)register_gst_message_type, &id); |
963 gst_structure_change_type_get_type (void) |
991 return id; |
964 { |
|
965 static gsize id = 0; |
|
966 static const GEnumValue values[] = { |
|
967 { C_ENUM(GST_STRUCTURE_CHANGE_TYPE_PAD_LINK), "GST_STRUCTURE_CHANGE_TYPE_PAD_LINK", "link" }, |
|
968 { C_ENUM(GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK), "GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK", "unlink" }, |
|
969 { 0, NULL, NULL } |
|
970 }; |
|
971 |
|
972 if (g_once_init_enter (&id)) { |
|
973 GType tmp = g_enum_register_static ("GstStructureChangeType", values); |
|
974 g_once_init_leave (&id, tmp); |
|
975 } |
|
976 |
|
977 return (GType) id; |
|
978 } |
|
979 #ifdef __SYMBIAN32__ |
|
980 EXPORT_C |
|
981 #endif |
|
982 |
|
983 GType |
|
984 gst_stream_status_type_get_type (void) |
|
985 { |
|
986 static gsize id = 0; |
|
987 static const GEnumValue values[] = { |
|
988 { C_ENUM(GST_STREAM_STATUS_TYPE_CREATE), "GST_STREAM_STATUS_TYPE_CREATE", "create" }, |
|
989 { C_ENUM(GST_STREAM_STATUS_TYPE_ENTER), "GST_STREAM_STATUS_TYPE_ENTER", "enter" }, |
|
990 { C_ENUM(GST_STREAM_STATUS_TYPE_LEAVE), "GST_STREAM_STATUS_TYPE_LEAVE", "leave" }, |
|
991 { C_ENUM(GST_STREAM_STATUS_TYPE_DESTROY), "GST_STREAM_STATUS_TYPE_DESTROY", "destroy" }, |
|
992 { C_ENUM(GST_STREAM_STATUS_TYPE_START), "GST_STREAM_STATUS_TYPE_START", "start" }, |
|
993 { C_ENUM(GST_STREAM_STATUS_TYPE_PAUSE), "GST_STREAM_STATUS_TYPE_PAUSE", "pause" }, |
|
994 { C_ENUM(GST_STREAM_STATUS_TYPE_STOP), "GST_STREAM_STATUS_TYPE_STOP", "stop" }, |
|
995 { 0, NULL, NULL } |
|
996 }; |
|
997 |
|
998 if (g_once_init_enter (&id)) { |
|
999 GType tmp = g_enum_register_static ("GstStreamStatusType", values); |
|
1000 g_once_init_leave (&id, tmp); |
|
1001 } |
|
1002 |
|
1003 return (GType) id; |
|
1004 } |
992 } |
1005 |
993 |
1006 /* enumerations from "gstminiobject.h" */ |
994 /* enumerations from "gstminiobject.h" */ |
1007 #ifdef __SYMBIAN32__ |
995 static void |
1008 EXPORT_C |
996 register_gst_mini_object_flags (GType* id) |
1009 #endif |
997 { |
1010 |
|
1011 GType |
|
1012 gst_mini_object_flags_get_type (void) |
|
1013 { |
|
1014 static gsize id = 0; |
|
1015 static const GFlagsValue values[] = { |
998 static const GFlagsValue values[] = { |
1016 { C_FLAGS(GST_MINI_OBJECT_FLAG_READONLY), "GST_MINI_OBJECT_FLAG_READONLY", "readonly" }, |
999 { C_FLAGS(GST_MINI_OBJECT_FLAG_READONLY), "GST_MINI_OBJECT_FLAG_READONLY", "readonly" }, |
1017 { C_FLAGS(GST_MINI_OBJECT_FLAG_LAST), "GST_MINI_OBJECT_FLAG_LAST", "last" }, |
1000 { C_FLAGS(GST_MINI_OBJECT_FLAG_LAST), "GST_MINI_OBJECT_FLAG_LAST", "last" }, |
1018 { 0, NULL, NULL } |
1001 { 0, NULL, NULL } |
1019 }; |
1002 }; |
1020 |
1003 *id = g_flags_register_static ("GstMiniObjectFlags", values); |
1021 if (g_once_init_enter (&id)) { |
1004 } |
1022 GType tmp = g_flags_register_static ("GstMiniObjectFlags", values); |
1005 #ifdef __SYMBIAN32__ |
1023 g_once_init_leave (&id, tmp); |
1006 EXPORT_C |
1024 } |
1007 #endif |
1025 |
1008 |
1026 return (GType) id; |
1009 GType |
|
1010 gst_mini_object_flags_get_type (void) |
|
1011 { |
|
1012 static GType id; |
|
1013 static GOnce once = G_ONCE_INIT; |
|
1014 |
|
1015 g_once (&once, (GThreadFunc)register_gst_mini_object_flags, &id); |
|
1016 return id; |
1027 } |
1017 } |
1028 |
1018 |
1029 /* enumerations from "gstpad.h" */ |
1019 /* enumerations from "gstpad.h" */ |
1030 #ifdef __SYMBIAN32__ |
1020 static void |
1031 EXPORT_C |
1021 register_gst_pad_link_return (GType* id) |
1032 #endif |
1022 { |
1033 |
|
1034 GType |
|
1035 gst_pad_link_return_get_type (void) |
|
1036 { |
|
1037 static gsize id = 0; |
|
1038 static const GEnumValue values[] = { |
1023 static const GEnumValue values[] = { |
1039 { C_ENUM(GST_PAD_LINK_OK), "GST_PAD_LINK_OK", "ok" }, |
1024 { C_ENUM(GST_PAD_LINK_OK), "GST_PAD_LINK_OK", "ok" }, |
1040 { C_ENUM(GST_PAD_LINK_WRONG_HIERARCHY), "GST_PAD_LINK_WRONG_HIERARCHY", "wrong-hierarchy" }, |
1025 { C_ENUM(GST_PAD_LINK_WRONG_HIERARCHY), "GST_PAD_LINK_WRONG_HIERARCHY", "wrong-hierarchy" }, |
1041 { C_ENUM(GST_PAD_LINK_WAS_LINKED), "GST_PAD_LINK_WAS_LINKED", "was-linked" }, |
1026 { C_ENUM(GST_PAD_LINK_WAS_LINKED), "GST_PAD_LINK_WAS_LINKED", "was-linked" }, |
1042 { C_ENUM(GST_PAD_LINK_WRONG_DIRECTION), "GST_PAD_LINK_WRONG_DIRECTION", "wrong-direction" }, |
1027 { C_ENUM(GST_PAD_LINK_WRONG_DIRECTION), "GST_PAD_LINK_WRONG_DIRECTION", "wrong-direction" }, |
1043 { C_ENUM(GST_PAD_LINK_NOFORMAT), "GST_PAD_LINK_NOFORMAT", "noformat" }, |
1028 { C_ENUM(GST_PAD_LINK_NOFORMAT), "GST_PAD_LINK_NOFORMAT", "noformat" }, |
1044 { C_ENUM(GST_PAD_LINK_NOSCHED), "GST_PAD_LINK_NOSCHED", "nosched" }, |
1029 { C_ENUM(GST_PAD_LINK_NOSCHED), "GST_PAD_LINK_NOSCHED", "nosched" }, |
1045 { C_ENUM(GST_PAD_LINK_REFUSED), "GST_PAD_LINK_REFUSED", "refused" }, |
1030 { C_ENUM(GST_PAD_LINK_REFUSED), "GST_PAD_LINK_REFUSED", "refused" }, |
1046 { 0, NULL, NULL } |
1031 { 0, NULL, NULL } |
1047 }; |
1032 }; |
1048 |
1033 *id = g_enum_register_static ("GstPadLinkReturn", values); |
1049 if (g_once_init_enter (&id)) { |
1034 } |
1050 GType tmp = g_enum_register_static ("GstPadLinkReturn", values); |
1035 #ifdef __SYMBIAN32__ |
1051 g_once_init_leave (&id, tmp); |
1036 EXPORT_C |
1052 } |
1037 #endif |
1053 |
1038 |
1054 return (GType) id; |
1039 GType |
1055 } |
1040 gst_pad_link_return_get_type (void) |
1056 #ifdef __SYMBIAN32__ |
1041 { |
1057 EXPORT_C |
1042 static GType id; |
1058 #endif |
1043 static GOnce once = G_ONCE_INIT; |
1059 |
1044 |
1060 GType |
1045 g_once (&once, (GThreadFunc)register_gst_pad_link_return, &id); |
1061 gst_flow_return_get_type (void) |
1046 return id; |
1062 { |
1047 } |
1063 static gsize id = 0; |
1048 static void |
|
1049 register_gst_flow_return (GType* id) |
|
1050 { |
1064 static const GEnumValue values[] = { |
1051 static const GEnumValue values[] = { |
1065 { C_ENUM(GST_FLOW_CUSTOM_SUCCESS), "GST_FLOW_CUSTOM_SUCCESS", "custom-success" }, |
1052 { C_ENUM(GST_FLOW_CUSTOM_SUCCESS), "GST_FLOW_CUSTOM_SUCCESS", "custom-success" }, |
1066 { C_ENUM(GST_FLOW_RESEND), "GST_FLOW_RESEND", "resend" }, |
1053 { C_ENUM(GST_FLOW_RESEND), "GST_FLOW_RESEND", "resend" }, |
1067 { C_ENUM(GST_FLOW_OK), "GST_FLOW_OK", "ok" }, |
1054 { C_ENUM(GST_FLOW_OK), "GST_FLOW_OK", "ok" }, |
1068 { C_ENUM(GST_FLOW_NOT_LINKED), "GST_FLOW_NOT_LINKED", "not-linked" }, |
1055 { C_ENUM(GST_FLOW_NOT_LINKED), "GST_FLOW_NOT_LINKED", "not-linked" }, |
1072 { C_ENUM(GST_FLOW_ERROR), "GST_FLOW_ERROR", "error" }, |
1059 { C_ENUM(GST_FLOW_ERROR), "GST_FLOW_ERROR", "error" }, |
1073 { C_ENUM(GST_FLOW_NOT_SUPPORTED), "GST_FLOW_NOT_SUPPORTED", "not-supported" }, |
1060 { C_ENUM(GST_FLOW_NOT_SUPPORTED), "GST_FLOW_NOT_SUPPORTED", "not-supported" }, |
1074 { C_ENUM(GST_FLOW_CUSTOM_ERROR), "GST_FLOW_CUSTOM_ERROR", "custom-error" }, |
1061 { C_ENUM(GST_FLOW_CUSTOM_ERROR), "GST_FLOW_CUSTOM_ERROR", "custom-error" }, |
1075 { 0, NULL, NULL } |
1062 { 0, NULL, NULL } |
1076 }; |
1063 }; |
1077 |
1064 *id = g_enum_register_static ("GstFlowReturn", values); |
1078 if (g_once_init_enter (&id)) { |
1065 } |
1079 GType tmp = g_enum_register_static ("GstFlowReturn", values); |
1066 #ifdef __SYMBIAN32__ |
1080 g_once_init_leave (&id, tmp); |
1067 EXPORT_C |
1081 } |
1068 #endif |
1082 |
1069 |
1083 return (GType) id; |
1070 GType |
1084 } |
1071 gst_flow_return_get_type (void) |
1085 #ifdef __SYMBIAN32__ |
1072 { |
1086 EXPORT_C |
1073 static GType id; |
1087 #endif |
1074 static GOnce once = G_ONCE_INIT; |
1088 |
1075 |
1089 GType |
1076 g_once (&once, (GThreadFunc)register_gst_flow_return, &id); |
1090 gst_activate_mode_get_type (void) |
1077 return id; |
1091 { |
1078 } |
1092 static gsize id = 0; |
1079 static void |
|
1080 register_gst_activate_mode (GType* id) |
|
1081 { |
1093 static const GEnumValue values[] = { |
1082 static const GEnumValue values[] = { |
1094 { C_ENUM(GST_ACTIVATE_NONE), "GST_ACTIVATE_NONE", "none" }, |
1083 { C_ENUM(GST_ACTIVATE_NONE), "GST_ACTIVATE_NONE", "none" }, |
1095 { C_ENUM(GST_ACTIVATE_PUSH), "GST_ACTIVATE_PUSH", "push" }, |
1084 { C_ENUM(GST_ACTIVATE_PUSH), "GST_ACTIVATE_PUSH", "push" }, |
1096 { C_ENUM(GST_ACTIVATE_PULL), "GST_ACTIVATE_PULL", "pull" }, |
1085 { C_ENUM(GST_ACTIVATE_PULL), "GST_ACTIVATE_PULL", "pull" }, |
1097 { 0, NULL, NULL } |
1086 { 0, NULL, NULL } |
1098 }; |
1087 }; |
1099 |
1088 *id = g_enum_register_static ("GstActivateMode", values); |
1100 if (g_once_init_enter (&id)) { |
1089 } |
1101 GType tmp = g_enum_register_static ("GstActivateMode", values); |
1090 #ifdef __SYMBIAN32__ |
1102 g_once_init_leave (&id, tmp); |
1091 EXPORT_C |
1103 } |
1092 #endif |
1104 |
1093 |
1105 return (GType) id; |
1094 GType |
1106 } |
1095 gst_activate_mode_get_type (void) |
1107 #ifdef __SYMBIAN32__ |
1096 { |
1108 EXPORT_C |
1097 static GType id; |
1109 #endif |
1098 static GOnce once = G_ONCE_INIT; |
1110 |
1099 |
1111 GType |
1100 g_once (&once, (GThreadFunc)register_gst_activate_mode, &id); |
1112 gst_pad_direction_get_type (void) |
1101 return id; |
1113 { |
1102 } |
1114 static gsize id = 0; |
1103 static void |
|
1104 register_gst_pad_direction (GType* id) |
|
1105 { |
1115 static const GEnumValue values[] = { |
1106 static const GEnumValue values[] = { |
1116 { C_ENUM(GST_PAD_UNKNOWN), "GST_PAD_UNKNOWN", "unknown" }, |
1107 { C_ENUM(GST_PAD_UNKNOWN), "GST_PAD_UNKNOWN", "unknown" }, |
1117 { C_ENUM(GST_PAD_SRC), "GST_PAD_SRC", "src" }, |
1108 { C_ENUM(GST_PAD_SRC), "GST_PAD_SRC", "src" }, |
1118 { C_ENUM(GST_PAD_SINK), "GST_PAD_SINK", "sink" }, |
1109 { C_ENUM(GST_PAD_SINK), "GST_PAD_SINK", "sink" }, |
1119 { 0, NULL, NULL } |
1110 { 0, NULL, NULL } |
1120 }; |
1111 }; |
1121 |
1112 *id = g_enum_register_static ("GstPadDirection", values); |
1122 if (g_once_init_enter (&id)) { |
1113 } |
1123 GType tmp = g_enum_register_static ("GstPadDirection", values); |
1114 #ifdef __SYMBIAN32__ |
1124 g_once_init_leave (&id, tmp); |
1115 EXPORT_C |
1125 } |
1116 #endif |
1126 |
1117 |
1127 return (GType) id; |
1118 GType |
1128 } |
1119 gst_pad_direction_get_type (void) |
1129 #ifdef __SYMBIAN32__ |
1120 { |
1130 EXPORT_C |
1121 static GType id; |
1131 #endif |
1122 static GOnce once = G_ONCE_INIT; |
1132 |
1123 |
1133 GType |
1124 g_once (&once, (GThreadFunc)register_gst_pad_direction, &id); |
1134 gst_pad_flags_get_type (void) |
1125 return id; |
1135 { |
1126 } |
1136 static gsize id = 0; |
1127 static void |
|
1128 register_gst_pad_flags (GType* id) |
|
1129 { |
1137 static const GFlagsValue values[] = { |
1130 static const GFlagsValue values[] = { |
1138 { C_FLAGS(GST_PAD_BLOCKED), "GST_PAD_BLOCKED", "blocked" }, |
1131 { C_FLAGS(GST_PAD_BLOCKED), "GST_PAD_BLOCKED", "blocked" }, |
1139 { C_FLAGS(GST_PAD_FLUSHING), "GST_PAD_FLUSHING", "flushing" }, |
1132 { C_FLAGS(GST_PAD_FLUSHING), "GST_PAD_FLUSHING", "flushing" }, |
1140 { C_FLAGS(GST_PAD_IN_GETCAPS), "GST_PAD_IN_GETCAPS", "in-getcaps" }, |
1133 { C_FLAGS(GST_PAD_IN_GETCAPS), "GST_PAD_IN_GETCAPS", "in-getcaps" }, |
1141 { C_FLAGS(GST_PAD_IN_SETCAPS), "GST_PAD_IN_SETCAPS", "in-setcaps" }, |
1134 { C_FLAGS(GST_PAD_IN_SETCAPS), "GST_PAD_IN_SETCAPS", "in-setcaps" }, |
1142 { C_FLAGS(GST_PAD_BLOCKING), "GST_PAD_BLOCKING", "blocking" }, |
1135 { C_FLAGS(GST_PAD_BLOCKING), "GST_PAD_BLOCKING", "blocking" }, |
1143 { C_FLAGS(GST_PAD_FLAG_LAST), "GST_PAD_FLAG_LAST", "flag-last" }, |
1136 { C_FLAGS(GST_PAD_FLAG_LAST), "GST_PAD_FLAG_LAST", "flag-last" }, |
1144 { 0, NULL, NULL } |
1137 { 0, NULL, NULL } |
1145 }; |
1138 }; |
1146 |
1139 *id = g_flags_register_static ("GstPadFlags", values); |
1147 if (g_once_init_enter (&id)) { |
1140 } |
1148 GType tmp = g_flags_register_static ("GstPadFlags", values); |
1141 #ifdef __SYMBIAN32__ |
1149 g_once_init_leave (&id, tmp); |
1142 EXPORT_C |
1150 } |
1143 #endif |
1151 |
1144 |
1152 return (GType) id; |
1145 GType |
|
1146 gst_pad_flags_get_type (void) |
|
1147 { |
|
1148 static GType id; |
|
1149 static GOnce once = G_ONCE_INIT; |
|
1150 |
|
1151 g_once (&once, (GThreadFunc)register_gst_pad_flags, &id); |
|
1152 return id; |
1153 } |
1153 } |
1154 |
1154 |
1155 /* enumerations from "gstpadtemplate.h" */ |
1155 /* enumerations from "gstpadtemplate.h" */ |
1156 #ifdef __SYMBIAN32__ |
1156 static void |
1157 EXPORT_C |
1157 register_gst_pad_presence (GType* id) |
1158 #endif |
1158 { |
1159 |
|
1160 GType |
|
1161 gst_pad_presence_get_type (void) |
|
1162 { |
|
1163 static gsize id = 0; |
|
1164 static const GEnumValue values[] = { |
1159 static const GEnumValue values[] = { |
1165 { C_ENUM(GST_PAD_ALWAYS), "GST_PAD_ALWAYS", "always" }, |
1160 { C_ENUM(GST_PAD_ALWAYS), "GST_PAD_ALWAYS", "always" }, |
1166 { C_ENUM(GST_PAD_SOMETIMES), "GST_PAD_SOMETIMES", "sometimes" }, |
1161 { C_ENUM(GST_PAD_SOMETIMES), "GST_PAD_SOMETIMES", "sometimes" }, |
1167 { C_ENUM(GST_PAD_REQUEST), "GST_PAD_REQUEST", "request" }, |
1162 { C_ENUM(GST_PAD_REQUEST), "GST_PAD_REQUEST", "request" }, |
1168 { 0, NULL, NULL } |
1163 { 0, NULL, NULL } |
1169 }; |
1164 }; |
1170 |
1165 *id = g_enum_register_static ("GstPadPresence", values); |
1171 if (g_once_init_enter (&id)) { |
1166 } |
1172 GType tmp = g_enum_register_static ("GstPadPresence", values); |
1167 #ifdef __SYMBIAN32__ |
1173 g_once_init_leave (&id, tmp); |
1168 EXPORT_C |
1174 } |
1169 #endif |
1175 |
1170 |
1176 return (GType) id; |
1171 GType |
1177 } |
1172 gst_pad_presence_get_type (void) |
1178 #ifdef __SYMBIAN32__ |
1173 { |
1179 EXPORT_C |
1174 static GType id; |
1180 #endif |
1175 static GOnce once = G_ONCE_INIT; |
1181 |
1176 |
1182 GType |
1177 g_once (&once, (GThreadFunc)register_gst_pad_presence, &id); |
1183 gst_pad_template_flags_get_type (void) |
1178 return id; |
1184 { |
1179 } |
1185 static gsize id = 0; |
1180 static void |
|
1181 register_gst_pad_template_flags (GType* id) |
|
1182 { |
1186 static const GFlagsValue values[] = { |
1183 static const GFlagsValue values[] = { |
1187 { C_FLAGS(GST_PAD_TEMPLATE_FIXED), "GST_PAD_TEMPLATE_FIXED", "fixed" }, |
1184 { C_FLAGS(GST_PAD_TEMPLATE_FIXED), "GST_PAD_TEMPLATE_FIXED", "fixed" }, |
1188 { C_FLAGS(GST_PAD_TEMPLATE_FLAG_LAST), "GST_PAD_TEMPLATE_FLAG_LAST", "flag-last" }, |
1185 { C_FLAGS(GST_PAD_TEMPLATE_FLAG_LAST), "GST_PAD_TEMPLATE_FLAG_LAST", "flag-last" }, |
1189 { 0, NULL, NULL } |
1186 { 0, NULL, NULL } |
1190 }; |
1187 }; |
1191 |
1188 *id = g_flags_register_static ("GstPadTemplateFlags", values); |
1192 if (g_once_init_enter (&id)) { |
1189 } |
1193 GType tmp = g_flags_register_static ("GstPadTemplateFlags", values); |
1190 #ifdef __SYMBIAN32__ |
1194 g_once_init_leave (&id, tmp); |
1191 EXPORT_C |
1195 } |
1192 #endif |
1196 |
1193 |
1197 return (GType) id; |
1194 GType |
|
1195 gst_pad_template_flags_get_type (void) |
|
1196 { |
|
1197 static GType id; |
|
1198 static GOnce once = G_ONCE_INIT; |
|
1199 |
|
1200 g_once (&once, (GThreadFunc)register_gst_pad_template_flags, &id); |
|
1201 return id; |
1198 } |
1202 } |
1199 |
1203 |
1200 /* enumerations from "gstpipeline.h" */ |
1204 /* enumerations from "gstpipeline.h" */ |
1201 #ifdef __SYMBIAN32__ |
1205 static void |
1202 EXPORT_C |
1206 register_gst_pipeline_flags (GType* id) |
1203 #endif |
1207 { |
1204 |
|
1205 GType |
|
1206 gst_pipeline_flags_get_type (void) |
|
1207 { |
|
1208 static gsize id = 0; |
|
1209 static const GFlagsValue values[] = { |
1208 static const GFlagsValue values[] = { |
1210 { C_FLAGS(GST_PIPELINE_FLAG_FIXED_CLOCK), "GST_PIPELINE_FLAG_FIXED_CLOCK", "fixed-clock" }, |
1209 { C_FLAGS(GST_PIPELINE_FLAG_FIXED_CLOCK), "GST_PIPELINE_FLAG_FIXED_CLOCK", "fixed-clock" }, |
1211 { C_FLAGS(GST_PIPELINE_FLAG_LAST), "GST_PIPELINE_FLAG_LAST", "last" }, |
1210 { C_FLAGS(GST_PIPELINE_FLAG_LAST), "GST_PIPELINE_FLAG_LAST", "last" }, |
1212 { 0, NULL, NULL } |
1211 { 0, NULL, NULL } |
1213 }; |
1212 }; |
1214 |
1213 *id = g_flags_register_static ("GstPipelineFlags", values); |
1215 if (g_once_init_enter (&id)) { |
1214 } |
1216 GType tmp = g_flags_register_static ("GstPipelineFlags", values); |
1215 #ifdef __SYMBIAN32__ |
1217 g_once_init_leave (&id, tmp); |
1216 EXPORT_C |
1218 } |
1217 #endif |
1219 |
1218 |
1220 return (GType) id; |
1219 GType |
|
1220 gst_pipeline_flags_get_type (void) |
|
1221 { |
|
1222 static GType id; |
|
1223 static GOnce once = G_ONCE_INIT; |
|
1224 |
|
1225 g_once (&once, (GThreadFunc)register_gst_pipeline_flags, &id); |
|
1226 return id; |
1221 } |
1227 } |
1222 |
1228 |
1223 /* enumerations from "gstplugin.h" */ |
1229 /* enumerations from "gstplugin.h" */ |
1224 #ifdef __SYMBIAN32__ |
1230 static void |
1225 EXPORT_C |
1231 register_gst_plugin_error (GType* id) |
1226 #endif |
1232 { |
1227 |
|
1228 GType |
|
1229 gst_plugin_error_get_type (void) |
|
1230 { |
|
1231 static gsize id = 0; |
|
1232 static const GEnumValue values[] = { |
1233 static const GEnumValue values[] = { |
1233 { C_ENUM(GST_PLUGIN_ERROR_MODULE), "GST_PLUGIN_ERROR_MODULE", "module" }, |
1234 { C_ENUM(GST_PLUGIN_ERROR_MODULE), "GST_PLUGIN_ERROR_MODULE", "module" }, |
1234 { C_ENUM(GST_PLUGIN_ERROR_DEPENDENCIES), "GST_PLUGIN_ERROR_DEPENDENCIES", "dependencies" }, |
1235 { C_ENUM(GST_PLUGIN_ERROR_DEPENDENCIES), "GST_PLUGIN_ERROR_DEPENDENCIES", "dependencies" }, |
1235 { C_ENUM(GST_PLUGIN_ERROR_NAME_MISMATCH), "GST_PLUGIN_ERROR_NAME_MISMATCH", "name-mismatch" }, |
1236 { C_ENUM(GST_PLUGIN_ERROR_NAME_MISMATCH), "GST_PLUGIN_ERROR_NAME_MISMATCH", "name-mismatch" }, |
1236 { 0, NULL, NULL } |
1237 { 0, NULL, NULL } |
1237 }; |
1238 }; |
1238 |
1239 *id = g_enum_register_static ("GstPluginError", values); |
1239 if (g_once_init_enter (&id)) { |
1240 } |
1240 GType tmp = g_enum_register_static ("GstPluginError", values); |
1241 #ifdef __SYMBIAN32__ |
1241 g_once_init_leave (&id, tmp); |
1242 EXPORT_C |
1242 } |
1243 #endif |
1243 |
1244 |
1244 return (GType) id; |
1245 GType |
|
1246 gst_plugin_error_get_type (void) |
|
1247 { |
|
1248 static GType id; |
|
1249 static GOnce once = G_ONCE_INIT; |
|
1250 |
|
1251 g_once (&once, (GThreadFunc)register_gst_plugin_error, &id); |
|
1252 return id; |
|
1253 } |
|
1254 static void |
|
1255 register_gst_plugin_flags (GType* id) |
|
1256 { |
|
1257 static const GFlagsValue values[] = { |
|
1258 { C_FLAGS(GST_PLUGIN_FLAG_CACHED), "GST_PLUGIN_FLAG_CACHED", "cached" }, |
|
1259 { 0, NULL, NULL } |
|
1260 }; |
|
1261 *id = g_flags_register_static ("GstPluginFlags", values); |
1245 } |
1262 } |
1246 #ifdef __SYMBIAN32__ |
1263 #ifdef __SYMBIAN32__ |
1247 EXPORT_C |
1264 EXPORT_C |
1248 #endif |
1265 #endif |
1249 |
1266 |
1250 GType |
1267 GType |
1251 gst_plugin_flags_get_type (void) |
1268 gst_plugin_flags_get_type (void) |
1252 { |
1269 { |
1253 static gsize id = 0; |
1270 static GType id; |
1254 static const GFlagsValue values[] = { |
1271 static GOnce once = G_ONCE_INIT; |
1255 { C_FLAGS(GST_PLUGIN_FLAG_CACHED), "GST_PLUGIN_FLAG_CACHED", "cached" }, |
1272 |
1256 { 0, NULL, NULL } |
1273 g_once (&once, (GThreadFunc)register_gst_plugin_flags, &id); |
1257 }; |
1274 return id; |
1258 |
|
1259 if (g_once_init_enter (&id)) { |
|
1260 GType tmp = g_flags_register_static ("GstPluginFlags", values); |
|
1261 g_once_init_leave (&id, tmp); |
|
1262 } |
|
1263 |
|
1264 return (GType) id; |
|
1265 } |
|
1266 #ifdef __SYMBIAN32__ |
|
1267 EXPORT_C |
|
1268 #endif |
|
1269 |
|
1270 GType |
|
1271 gst_plugin_dependency_flags_get_type (void) |
|
1272 { |
|
1273 static gsize id = 0; |
|
1274 static const GFlagsValue values[] = { |
|
1275 { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_NONE), "GST_PLUGIN_DEPENDENCY_FLAG_NONE", "none" }, |
|
1276 { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_RECURSE), "GST_PLUGIN_DEPENDENCY_FLAG_RECURSE", "recurse" }, |
|
1277 { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY), "GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY", "paths-are-default-only" }, |
|
1278 { C_FLAGS(GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX), "GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX", "file-name-is-suffix" }, |
|
1279 { 0, NULL, NULL } |
|
1280 }; |
|
1281 |
|
1282 if (g_once_init_enter (&id)) { |
|
1283 GType tmp = g_flags_register_static ("GstPluginDependencyFlags", values); |
|
1284 g_once_init_leave (&id, tmp); |
|
1285 } |
|
1286 |
|
1287 return (GType) id; |
|
1288 } |
1275 } |
1289 |
1276 |
1290 /* enumerations from "gstpluginfeature.h" */ |
1277 /* enumerations from "gstpluginfeature.h" */ |
1291 #ifdef __SYMBIAN32__ |
1278 static void |
1292 EXPORT_C |
1279 register_gst_rank (GType* id) |
1293 #endif |
1280 { |
1294 |
|
1295 GType |
|
1296 gst_rank_get_type (void) |
|
1297 { |
|
1298 static gsize id = 0; |
|
1299 static const GEnumValue values[] = { |
1281 static const GEnumValue values[] = { |
1300 { C_ENUM(GST_RANK_NONE), "GST_RANK_NONE", "none" }, |
1282 { C_ENUM(GST_RANK_NONE), "GST_RANK_NONE", "none" }, |
1301 { C_ENUM(GST_RANK_MARGINAL), "GST_RANK_MARGINAL", "marginal" }, |
1283 { C_ENUM(GST_RANK_MARGINAL), "GST_RANK_MARGINAL", "marginal" }, |
1302 { C_ENUM(GST_RANK_SECONDARY), "GST_RANK_SECONDARY", "secondary" }, |
1284 { C_ENUM(GST_RANK_SECONDARY), "GST_RANK_SECONDARY", "secondary" }, |
1303 { C_ENUM(GST_RANK_PRIMARY), "GST_RANK_PRIMARY", "primary" }, |
1285 { C_ENUM(GST_RANK_PRIMARY), "GST_RANK_PRIMARY", "primary" }, |
1304 { 0, NULL, NULL } |
1286 { 0, NULL, NULL } |
1305 }; |
1287 }; |
1306 |
1288 *id = g_enum_register_static ("GstRank", values); |
1307 if (g_once_init_enter (&id)) { |
1289 } |
1308 GType tmp = g_enum_register_static ("GstRank", values); |
1290 #ifdef __SYMBIAN32__ |
1309 g_once_init_leave (&id, tmp); |
1291 EXPORT_C |
1310 } |
1292 #endif |
1311 |
1293 |
1312 return (GType) id; |
1294 GType |
|
1295 gst_rank_get_type (void) |
|
1296 { |
|
1297 static GType id; |
|
1298 static GOnce once = G_ONCE_INIT; |
|
1299 |
|
1300 g_once (&once, (GThreadFunc)register_gst_rank, &id); |
|
1301 return id; |
1313 } |
1302 } |
1314 |
1303 |
1315 /* enumerations from "gstquery.h" */ |
1304 /* enumerations from "gstquery.h" */ |
1316 #ifdef __SYMBIAN32__ |
1305 static void |
1317 EXPORT_C |
1306 register_gst_query_type (GType* id) |
1318 #endif |
1307 { |
1319 |
|
1320 GType |
|
1321 gst_query_type_get_type (void) |
|
1322 { |
|
1323 static gsize id = 0; |
|
1324 static const GEnumValue values[] = { |
1308 static const GEnumValue values[] = { |
1325 { C_ENUM(GST_QUERY_NONE), "GST_QUERY_NONE", "none" }, |
1309 { C_ENUM(GST_QUERY_NONE), "GST_QUERY_NONE", "none" }, |
1326 { C_ENUM(GST_QUERY_POSITION), "GST_QUERY_POSITION", "position" }, |
1310 { C_ENUM(GST_QUERY_POSITION), "GST_QUERY_POSITION", "position" }, |
1327 { C_ENUM(GST_QUERY_DURATION), "GST_QUERY_DURATION", "duration" }, |
1311 { C_ENUM(GST_QUERY_DURATION), "GST_QUERY_DURATION", "duration" }, |
1328 { C_ENUM(GST_QUERY_LATENCY), "GST_QUERY_LATENCY", "latency" }, |
1312 { C_ENUM(GST_QUERY_LATENCY), "GST_QUERY_LATENCY", "latency" }, |
1410 { C_ENUM(GST_TAG_MERGE_KEEP), "GST_TAG_MERGE_KEEP", "keep" }, |
1347 { C_ENUM(GST_TAG_MERGE_KEEP), "GST_TAG_MERGE_KEEP", "keep" }, |
1411 { C_ENUM(GST_TAG_MERGE_KEEP_ALL), "GST_TAG_MERGE_KEEP_ALL", "keep-all" }, |
1348 { C_ENUM(GST_TAG_MERGE_KEEP_ALL), "GST_TAG_MERGE_KEEP_ALL", "keep-all" }, |
1412 { C_ENUM(GST_TAG_MERGE_COUNT), "GST_TAG_MERGE_COUNT", "count" }, |
1349 { C_ENUM(GST_TAG_MERGE_COUNT), "GST_TAG_MERGE_COUNT", "count" }, |
1413 { 0, NULL, NULL } |
1350 { 0, NULL, NULL } |
1414 }; |
1351 }; |
1415 |
1352 *id = g_enum_register_static ("GstTagMergeMode", values); |
1416 if (g_once_init_enter (&id)) { |
1353 } |
1417 GType tmp = g_enum_register_static ("GstTagMergeMode", values); |
1354 #ifdef __SYMBIAN32__ |
1418 g_once_init_leave (&id, tmp); |
1355 EXPORT_C |
1419 } |
1356 #endif |
1420 |
1357 |
1421 return (GType) id; |
1358 GType |
1422 } |
1359 gst_tag_merge_mode_get_type (void) |
1423 #ifdef __SYMBIAN32__ |
1360 { |
1424 EXPORT_C |
1361 static GType id; |
1425 #endif |
1362 static GOnce once = G_ONCE_INIT; |
1426 |
1363 |
1427 GType |
1364 g_once (&once, (GThreadFunc)register_gst_tag_merge_mode, &id); |
1428 gst_tag_flag_get_type (void) |
1365 return id; |
1429 { |
1366 } |
1430 static gsize id = 0; |
1367 static void |
|
1368 register_gst_tag_flag (GType* id) |
|
1369 { |
1431 static const GEnumValue values[] = { |
1370 static const GEnumValue values[] = { |
1432 { C_ENUM(GST_TAG_FLAG_UNDEFINED), "GST_TAG_FLAG_UNDEFINED", "undefined" }, |
1371 { C_ENUM(GST_TAG_FLAG_UNDEFINED), "GST_TAG_FLAG_UNDEFINED", "undefined" }, |
1433 { C_ENUM(GST_TAG_FLAG_META), "GST_TAG_FLAG_META", "meta" }, |
1372 { C_ENUM(GST_TAG_FLAG_META), "GST_TAG_FLAG_META", "meta" }, |
1434 { C_ENUM(GST_TAG_FLAG_ENCODED), "GST_TAG_FLAG_ENCODED", "encoded" }, |
1373 { C_ENUM(GST_TAG_FLAG_ENCODED), "GST_TAG_FLAG_ENCODED", "encoded" }, |
1435 { C_ENUM(GST_TAG_FLAG_DECODED), "GST_TAG_FLAG_DECODED", "decoded" }, |
1374 { C_ENUM(GST_TAG_FLAG_DECODED), "GST_TAG_FLAG_DECODED", "decoded" }, |
1436 { C_ENUM(GST_TAG_FLAG_COUNT), "GST_TAG_FLAG_COUNT", "count" }, |
1375 { C_ENUM(GST_TAG_FLAG_COUNT), "GST_TAG_FLAG_COUNT", "count" }, |
1437 { 0, NULL, NULL } |
1376 { 0, NULL, NULL } |
1438 }; |
1377 }; |
1439 |
1378 *id = g_enum_register_static ("GstTagFlag", values); |
1440 if (g_once_init_enter (&id)) { |
1379 } |
1441 GType tmp = g_enum_register_static ("GstTagFlag", values); |
1380 #ifdef __SYMBIAN32__ |
1442 g_once_init_leave (&id, tmp); |
1381 EXPORT_C |
1443 } |
1382 #endif |
1444 |
1383 |
1445 return (GType) id; |
1384 GType |
|
1385 gst_tag_flag_get_type (void) |
|
1386 { |
|
1387 static GType id; |
|
1388 static GOnce once = G_ONCE_INIT; |
|
1389 |
|
1390 g_once (&once, (GThreadFunc)register_gst_tag_flag, &id); |
|
1391 return id; |
1446 } |
1392 } |
1447 |
1393 |
1448 /* enumerations from "gsttask.h" */ |
1394 /* enumerations from "gsttask.h" */ |
1449 #ifdef __SYMBIAN32__ |
1395 static void |
1450 EXPORT_C |
1396 register_gst_task_state (GType* id) |
1451 #endif |
1397 { |
1452 |
|
1453 GType |
|
1454 gst_task_state_get_type (void) |
|
1455 { |
|
1456 static gsize id = 0; |
|
1457 static const GEnumValue values[] = { |
1398 static const GEnumValue values[] = { |
1458 { C_ENUM(GST_TASK_STARTED), "GST_TASK_STARTED", "started" }, |
1399 { C_ENUM(GST_TASK_STARTED), "GST_TASK_STARTED", "started" }, |
1459 { C_ENUM(GST_TASK_STOPPED), "GST_TASK_STOPPED", "stopped" }, |
1400 { C_ENUM(GST_TASK_STOPPED), "GST_TASK_STOPPED", "stopped" }, |
1460 { C_ENUM(GST_TASK_PAUSED), "GST_TASK_PAUSED", "paused" }, |
1401 { C_ENUM(GST_TASK_PAUSED), "GST_TASK_PAUSED", "paused" }, |
1461 { 0, NULL, NULL } |
1402 { 0, NULL, NULL } |
1462 }; |
1403 }; |
1463 |
1404 *id = g_enum_register_static ("GstTaskState", values); |
1464 if (g_once_init_enter (&id)) { |
1405 } |
1465 GType tmp = g_enum_register_static ("GstTaskState", values); |
1406 #ifdef __SYMBIAN32__ |
1466 g_once_init_leave (&id, tmp); |
1407 EXPORT_C |
1467 } |
1408 #endif |
1468 |
1409 |
1469 return (GType) id; |
1410 GType |
|
1411 gst_task_state_get_type (void) |
|
1412 { |
|
1413 static GType id; |
|
1414 static GOnce once = G_ONCE_INIT; |
|
1415 |
|
1416 g_once (&once, (GThreadFunc)register_gst_task_state, &id); |
|
1417 return id; |
1470 } |
1418 } |
1471 |
1419 |
1472 /* enumerations from "gsttrace.h" */ |
1420 /* enumerations from "gsttrace.h" */ |
1473 #ifdef __SYMBIAN32__ |
1421 static void |
1474 EXPORT_C |
1422 register_gst_alloc_trace_flags (GType* id) |
1475 #endif |
1423 { |
1476 |
|
1477 GType |
|
1478 gst_alloc_trace_flags_get_type (void) |
|
1479 { |
|
1480 static gsize id = 0; |
|
1481 static const GFlagsValue values[] = { |
1424 static const GFlagsValue values[] = { |
1482 { C_FLAGS(GST_ALLOC_TRACE_LIVE), "GST_ALLOC_TRACE_LIVE", "live" }, |
1425 { C_FLAGS(GST_ALLOC_TRACE_LIVE), "GST_ALLOC_TRACE_LIVE", "live" }, |
1483 { C_FLAGS(GST_ALLOC_TRACE_MEM_LIVE), "GST_ALLOC_TRACE_MEM_LIVE", "mem-live" }, |
1426 { C_FLAGS(GST_ALLOC_TRACE_MEM_LIVE), "GST_ALLOC_TRACE_MEM_LIVE", "mem-live" }, |
1484 { 0, NULL, NULL } |
1427 { 0, NULL, NULL } |
1485 }; |
1428 }; |
1486 |
1429 *id = g_flags_register_static ("GstAllocTraceFlags", values); |
1487 if (g_once_init_enter (&id)) { |
1430 } |
1488 GType tmp = g_flags_register_static ("GstAllocTraceFlags", values); |
1431 #ifdef __SYMBIAN32__ |
1489 g_once_init_leave (&id, tmp); |
1432 EXPORT_C |
1490 } |
1433 #endif |
1491 |
1434 |
1492 return (GType) id; |
1435 GType |
|
1436 gst_alloc_trace_flags_get_type (void) |
|
1437 { |
|
1438 static GType id; |
|
1439 static GOnce once = G_ONCE_INIT; |
|
1440 |
|
1441 g_once (&once, (GThreadFunc)register_gst_alloc_trace_flags, &id); |
|
1442 return id; |
1493 } |
1443 } |
1494 |
1444 |
1495 /* enumerations from "gsttypefind.h" */ |
1445 /* enumerations from "gsttypefind.h" */ |
1496 #ifdef __SYMBIAN32__ |
1446 static void |
1497 EXPORT_C |
1447 register_gst_type_find_probability (GType* id) |
1498 #endif |
1448 { |
1499 |
|
1500 GType |
|
1501 gst_type_find_probability_get_type (void) |
|
1502 { |
|
1503 static gsize id = 0; |
|
1504 static const GEnumValue values[] = { |
1449 static const GEnumValue values[] = { |
1505 { C_ENUM(GST_TYPE_FIND_MINIMUM), "GST_TYPE_FIND_MINIMUM", "minimum" }, |
1450 { C_ENUM(GST_TYPE_FIND_MINIMUM), "GST_TYPE_FIND_MINIMUM", "minimum" }, |
1506 { C_ENUM(GST_TYPE_FIND_POSSIBLE), "GST_TYPE_FIND_POSSIBLE", "possible" }, |
1451 { C_ENUM(GST_TYPE_FIND_POSSIBLE), "GST_TYPE_FIND_POSSIBLE", "possible" }, |
1507 { C_ENUM(GST_TYPE_FIND_LIKELY), "GST_TYPE_FIND_LIKELY", "likely" }, |
1452 { C_ENUM(GST_TYPE_FIND_LIKELY), "GST_TYPE_FIND_LIKELY", "likely" }, |
1508 { C_ENUM(GST_TYPE_FIND_NEARLY_CERTAIN), "GST_TYPE_FIND_NEARLY_CERTAIN", "nearly-certain" }, |
1453 { C_ENUM(GST_TYPE_FIND_NEARLY_CERTAIN), "GST_TYPE_FIND_NEARLY_CERTAIN", "nearly-certain" }, |
1509 { C_ENUM(GST_TYPE_FIND_MAXIMUM), "GST_TYPE_FIND_MAXIMUM", "maximum" }, |
1454 { C_ENUM(GST_TYPE_FIND_MAXIMUM), "GST_TYPE_FIND_MAXIMUM", "maximum" }, |
1510 { 0, NULL, NULL } |
1455 { 0, NULL, NULL } |
1511 }; |
1456 }; |
1512 |
1457 *id = g_enum_register_static ("GstTypeFindProbability", values); |
1513 if (g_once_init_enter (&id)) { |
1458 } |
1514 GType tmp = g_enum_register_static ("GstTypeFindProbability", values); |
1459 #ifdef __SYMBIAN32__ |
1515 g_once_init_leave (&id, tmp); |
1460 EXPORT_C |
1516 } |
1461 #endif |
1517 |
1462 |
1518 return (GType) id; |
1463 GType |
|
1464 gst_type_find_probability_get_type (void) |
|
1465 { |
|
1466 static GType id; |
|
1467 static GOnce once = G_ONCE_INIT; |
|
1468 |
|
1469 g_once (&once, (GThreadFunc)register_gst_type_find_probability, &id); |
|
1470 return id; |
1519 } |
1471 } |
1520 |
1472 |
1521 /* enumerations from "gsturi.h" */ |
1473 /* enumerations from "gsturi.h" */ |
1522 #ifdef __SYMBIAN32__ |
1474 static void |
1523 EXPORT_C |
1475 register_gst_uri_type (GType* id) |
1524 #endif |
1476 { |
1525 |
|
1526 GType |
|
1527 gst_uri_type_get_type (void) |
|
1528 { |
|
1529 static gsize id = 0; |
|
1530 static const GEnumValue values[] = { |
1477 static const GEnumValue values[] = { |
1531 { C_ENUM(GST_URI_UNKNOWN), "GST_URI_UNKNOWN", "unknown" }, |
1478 { C_ENUM(GST_URI_UNKNOWN), "GST_URI_UNKNOWN", "unknown" }, |
1532 { C_ENUM(GST_URI_SINK), "GST_URI_SINK", "sink" }, |
1479 { C_ENUM(GST_URI_SINK), "GST_URI_SINK", "sink" }, |
1533 { C_ENUM(GST_URI_SRC), "GST_URI_SRC", "src" }, |
1480 { C_ENUM(GST_URI_SRC), "GST_URI_SRC", "src" }, |
1534 { 0, NULL, NULL } |
1481 { 0, NULL, NULL } |
1535 }; |
1482 }; |
1536 |
1483 *id = g_enum_register_static ("GstURIType", values); |
1537 if (g_once_init_enter (&id)) { |
1484 } |
1538 GType tmp = g_enum_register_static ("GstURIType", values); |
1485 #ifdef __SYMBIAN32__ |
1539 g_once_init_leave (&id, tmp); |
1486 EXPORT_C |
1540 } |
1487 #endif |
1541 |
1488 |
1542 return (GType) id; |
1489 GType |
1543 } |
1490 gst_uri_type_get_type (void) |
1544 |
1491 { |
1545 /* enumerations from "gstutils.h" */ |
1492 static GType id; |
1546 #ifdef __SYMBIAN32__ |
1493 static GOnce once = G_ONCE_INIT; |
1547 EXPORT_C |
1494 |
1548 #endif |
1495 g_once (&once, (GThreadFunc)register_gst_uri_type, &id); |
1549 |
1496 return id; |
1550 GType |
|
1551 gst_search_mode_get_type (void) |
|
1552 { |
|
1553 static gsize id = 0; |
|
1554 static const GEnumValue values[] = { |
|
1555 { C_ENUM(GST_SEARCH_MODE_EXACT), "GST_SEARCH_MODE_EXACT", "exact" }, |
|
1556 { C_ENUM(GST_SEARCH_MODE_BEFORE), "GST_SEARCH_MODE_BEFORE", "before" }, |
|
1557 { C_ENUM(GST_SEARCH_MODE_AFTER), "GST_SEARCH_MODE_AFTER", "after" }, |
|
1558 { 0, NULL, NULL } |
|
1559 }; |
|
1560 |
|
1561 if (g_once_init_enter (&id)) { |
|
1562 GType tmp = g_enum_register_static ("GstSearchMode", values); |
|
1563 g_once_init_leave (&id, tmp); |
|
1564 } |
|
1565 |
|
1566 return (GType) id; |
|
1567 } |
1497 } |
1568 |
1498 |
1569 /* enumerations from "gstparse.h" */ |
1499 /* enumerations from "gstparse.h" */ |
1570 #ifdef __SYMBIAN32__ |
1500 static void |
1571 EXPORT_C |
1501 register_gst_parse_error (GType* id) |
1572 #endif |
1502 { |
1573 |
|
1574 GType |
|
1575 gst_parse_error_get_type (void) |
|
1576 { |
|
1577 static gsize id = 0; |
|
1578 static const GEnumValue values[] = { |
1503 static const GEnumValue values[] = { |
1579 { C_ENUM(GST_PARSE_ERROR_SYNTAX), "GST_PARSE_ERROR_SYNTAX", "syntax" }, |
1504 { C_ENUM(GST_PARSE_ERROR_SYNTAX), "GST_PARSE_ERROR_SYNTAX", "syntax" }, |
1580 { C_ENUM(GST_PARSE_ERROR_NO_SUCH_ELEMENT), "GST_PARSE_ERROR_NO_SUCH_ELEMENT", "no-such-element" }, |
1505 { C_ENUM(GST_PARSE_ERROR_NO_SUCH_ELEMENT), "GST_PARSE_ERROR_NO_SUCH_ELEMENT", "no-such-element" }, |
1581 { C_ENUM(GST_PARSE_ERROR_NO_SUCH_PROPERTY), "GST_PARSE_ERROR_NO_SUCH_PROPERTY", "no-such-property" }, |
1506 { C_ENUM(GST_PARSE_ERROR_NO_SUCH_PROPERTY), "GST_PARSE_ERROR_NO_SUCH_PROPERTY", "no-such-property" }, |
1582 { C_ENUM(GST_PARSE_ERROR_LINK), "GST_PARSE_ERROR_LINK", "link" }, |
1507 { C_ENUM(GST_PARSE_ERROR_LINK), "GST_PARSE_ERROR_LINK", "link" }, |
1583 { C_ENUM(GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY), "GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property" }, |
1508 { C_ENUM(GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY), "GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property" }, |
1584 { C_ENUM(GST_PARSE_ERROR_EMPTY_BIN), "GST_PARSE_ERROR_EMPTY_BIN", "empty-bin" }, |
1509 { C_ENUM(GST_PARSE_ERROR_EMPTY_BIN), "GST_PARSE_ERROR_EMPTY_BIN", "empty-bin" }, |
1585 { C_ENUM(GST_PARSE_ERROR_EMPTY), "GST_PARSE_ERROR_EMPTY", "empty" }, |
1510 { C_ENUM(GST_PARSE_ERROR_EMPTY), "GST_PARSE_ERROR_EMPTY", "empty" }, |
1586 { 0, NULL, NULL } |
1511 { 0, NULL, NULL } |
1587 }; |
1512 }; |
1588 |
1513 *id = g_enum_register_static ("GstParseError", values); |
1589 if (g_once_init_enter (&id)) { |
1514 } |
1590 GType tmp = g_enum_register_static ("GstParseError", values); |
1515 #ifdef __SYMBIAN32__ |
1591 g_once_init_leave (&id, tmp); |
1516 EXPORT_C |
1592 } |
1517 #endif |
1593 |
1518 |
1594 return (GType) id; |
1519 GType |
1595 } |
1520 gst_parse_error_get_type (void) |
1596 #ifdef __SYMBIAN32__ |
1521 { |
1597 EXPORT_C |
1522 static GType id; |
1598 #endif |
1523 static GOnce once = G_ONCE_INIT; |
1599 |
1524 |
1600 GType |
1525 g_once (&once, (GThreadFunc)register_gst_parse_error, &id); |
1601 gst_parse_flags_get_type (void) |
1526 return id; |
1602 { |
|
1603 static gsize id = 0; |
|
1604 static const GFlagsValue values[] = { |
|
1605 { C_FLAGS(GST_PARSE_FLAG_NONE), "GST_PARSE_FLAG_NONE", "none" }, |
|
1606 { C_FLAGS(GST_PARSE_FLAG_FATAL_ERRORS), "GST_PARSE_FLAG_FATAL_ERRORS", "fatal-errors" }, |
|
1607 { 0, NULL, NULL } |
|
1608 }; |
|
1609 |
|
1610 if (g_once_init_enter (&id)) { |
|
1611 GType tmp = g_flags_register_static ("GstParseFlags", values); |
|
1612 g_once_init_leave (&id, tmp); |
|
1613 } |
|
1614 |
|
1615 return (GType) id; |
|
1616 } |
1527 } |
1617 |
1528 |
1618 /* Generated data ends here */ |
1529 /* Generated data ends here */ |
1619 |
1530 |