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