2005-10-12 20:23:42 +00:00
|
|
|
|
2010-09-23 23:13:51 +00:00
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
|
|
|
|
#include "gst_private.h"
|
|
|
|
#include <gst/gst.h>
|
2007-10-08 20:45:07 +00:00
|
|
|
#define C_ENUM(v) ((gint) v)
|
|
|
|
#define C_FLAGS(v) ((guint) v)
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
|
|
|
|
/* enumerations from "gstobject.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_object_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_FLAGS (GST_OBJECT_FLAG_LAST), "GST_OBJECT_FLAG_LAST", "last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstObjectFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2012-08-05 15:59:35 +00:00
|
|
|
/* enumerations from "gstallocator.h" */
|
|
|
|
GType
|
|
|
|
gst_allocator_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_ALLOCATOR_FLAG_CUSTOM_ALLOC),
|
|
|
|
"GST_ALLOCATOR_FLAG_CUSTOM_ALLOC", "custom-alloc"},
|
|
|
|
{C_FLAGS (GST_ALLOCATOR_FLAG_LAST), "GST_ALLOCATOR_FLAG_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstAllocatorFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstbin.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_bin_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2013-06-05 15:58:51 +00:00
|
|
|
{C_FLAGS (GST_BIN_FLAG_NO_RESYNC), "GST_BIN_FLAG_NO_RESYNC", "no-resync"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_BIN_FLAG_LAST), "GST_BIN_FLAG_LAST", "last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstBinFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gstbuffer.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
2011-09-29 14:50:21 +00:00
|
|
|
gst_buffer_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2011-09-29 14:50:21 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_LIVE), "GST_BUFFER_FLAG_LIVE", "live"},
|
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_DECODE_ONLY), "GST_BUFFER_FLAG_DECODE_ONLY",
|
|
|
|
"decode-only"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_DISCONT), "GST_BUFFER_FLAG_DISCONT", "discont"},
|
2011-09-29 14:50:21 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_RESYNC), "GST_BUFFER_FLAG_RESYNC", "resync"},
|
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_CORRUPTED), "GST_BUFFER_FLAG_CORRUPTED",
|
|
|
|
"corrupted"},
|
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_MARKER), "GST_BUFFER_FLAG_MARKER", "marker"},
|
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_HEADER), "GST_BUFFER_FLAG_HEADER", "header"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_GAP), "GST_BUFFER_FLAG_GAP", "gap"},
|
2011-09-29 14:50:21 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_DROPPABLE), "GST_BUFFER_FLAG_DROPPABLE",
|
|
|
|
"droppable"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_DELTA_UNIT), "GST_BUFFER_FLAG_DELTA_UNIT",
|
|
|
|
"delta-unit"},
|
|
|
|
{C_FLAGS (GST_BUFFER_FLAG_LAST), "GST_BUFFER_FLAG_LAST", "last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
2011-09-29 14:50:21 +00:00
|
|
|
GType tmp = g_flags_register_static ("GstBufferFlags", values);
|
2009-04-15 23:08:20 +00:00
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_buffer_copy_flags_get_type (void)
|
2007-10-08 20:45:07 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2007-10-08 20:45:07 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_COPY_NONE), "GST_BUFFER_COPY_NONE", "none"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_COPY_FLAGS), "GST_BUFFER_COPY_FLAGS", "flags"},
|
|
|
|
{C_FLAGS (GST_BUFFER_COPY_TIMESTAMPS), "GST_BUFFER_COPY_TIMESTAMPS",
|
|
|
|
"timestamps"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_COPY_META), "GST_BUFFER_COPY_META", "meta"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_COPY_MEMORY), "GST_BUFFER_COPY_MEMORY", "memory"},
|
|
|
|
{C_FLAGS (GST_BUFFER_COPY_MERGE), "GST_BUFFER_COPY_MERGE", "merge"},
|
2013-06-05 15:58:51 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_COPY_DEEP), "GST_BUFFER_COPY_DEEP", "deep"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstBufferCopyFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2007-10-08 20:45:07 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2007-10-08 20:45:07 +00:00
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2011-06-04 15:04:35 +00:00
|
|
|
/* enumerations from "gstbufferpool.h" */
|
2009-07-20 14:51:20 +00:00
|
|
|
GType
|
2012-03-22 14:49:36 +00:00
|
|
|
gst_buffer_pool_acquire_flags_get_type (void)
|
2009-07-20 14:51:20 +00:00
|
|
|
{
|
|
|
|
static gsize id = 0;
|
2011-06-04 15:04:35 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2012-03-22 14:49:36 +00:00
|
|
|
{C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_NONE),
|
|
|
|
"GST_BUFFER_POOL_ACQUIRE_FLAG_NONE", "none"},
|
|
|
|
{C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT),
|
|
|
|
"GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT", "key-unit"},
|
|
|
|
{C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT),
|
|
|
|
"GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT", "dontwait"},
|
|
|
|
{C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT),
|
|
|
|
"GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT", "discont"},
|
|
|
|
{C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_LAST),
|
|
|
|
"GST_BUFFER_POOL_ACQUIRE_FLAG_LAST", "last"},
|
2009-07-20 14:51:20 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
2012-03-22 14:49:36 +00:00
|
|
|
GType tmp = g_flags_register_static ("GstBufferPoolAcquireFlags", values);
|
2009-07-20 14:51:20 +00:00
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstbus.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_bus_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_BUS_FLUSHING), "GST_BUS_FLUSHING", "flushing"},
|
|
|
|
{C_FLAGS (GST_BUS_FLAG_LAST), "GST_BUS_FLAG_LAST", "flag-last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstBusFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_bus_sync_reply_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_BUS_DROP), "GST_BUS_DROP", "drop"},
|
|
|
|
{C_ENUM (GST_BUS_PASS), "GST_BUS_PASS", "pass"},
|
|
|
|
{C_ENUM (GST_BUS_ASYNC), "GST_BUS_ASYNC", "async"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstBusSyncReply", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2005-11-30 09:12:57 +00:00
|
|
|
/* enumerations from "gstcaps.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_caps_flags_get_type (void)
|
2005-11-30 09:12:57 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-30 09:12:57 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_CAPS_FLAG_ANY), "GST_CAPS_FLAG_ANY", "any"},
|
2005-11-30 09:12:57 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstCapsFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-30 09:12:57 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-30 09:12:57 +00:00
|
|
|
}
|
|
|
|
|
2011-04-16 13:56:03 +00:00
|
|
|
GType
|
|
|
|
gst_caps_intersect_mode_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_CAPS_INTERSECT_ZIG_ZAG), "GST_CAPS_INTERSECT_ZIG_ZAG",
|
|
|
|
"zig-zag"},
|
|
|
|
{C_ENUM (GST_CAPS_INTERSECT_FIRST), "GST_CAPS_INTERSECT_FIRST", "first"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstCapsIntersectMode", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstclock.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_clock_return_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_CLOCK_OK), "GST_CLOCK_OK", "ok"},
|
|
|
|
{C_ENUM (GST_CLOCK_EARLY), "GST_CLOCK_EARLY", "early"},
|
|
|
|
{C_ENUM (GST_CLOCK_UNSCHEDULED), "GST_CLOCK_UNSCHEDULED", "unscheduled"},
|
|
|
|
{C_ENUM (GST_CLOCK_BUSY), "GST_CLOCK_BUSY", "busy"},
|
|
|
|
{C_ENUM (GST_CLOCK_BADTIME), "GST_CLOCK_BADTIME", "badtime"},
|
|
|
|
{C_ENUM (GST_CLOCK_ERROR), "GST_CLOCK_ERROR", "error"},
|
|
|
|
{C_ENUM (GST_CLOCK_UNSUPPORTED), "GST_CLOCK_UNSUPPORTED", "unsupported"},
|
2011-01-07 12:13:37 +00:00
|
|
|
{C_ENUM (GST_CLOCK_DONE), "GST_CLOCK_DONE", "done"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstClockReturn", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_clock_entry_type_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_CLOCK_ENTRY_SINGLE), "GST_CLOCK_ENTRY_SINGLE", "single"},
|
|
|
|
{C_ENUM (GST_CLOCK_ENTRY_PERIODIC), "GST_CLOCK_ENTRY_PERIODIC", "periodic"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstClockEntryType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_clock_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC),
|
|
|
|
"GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", "can-do-single-sync"},
|
|
|
|
{C_FLAGS (GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC),
|
|
|
|
"GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", "can-do-single-async"},
|
|
|
|
{C_FLAGS (GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC),
|
|
|
|
"GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "can-do-periodic-sync"},
|
|
|
|
{C_FLAGS (GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC),
|
2006-05-12 14:53:49 +00:00
|
|
|
"GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "can-do-periodic-async"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_CLOCK_FLAG_CAN_SET_RESOLUTION),
|
|
|
|
"GST_CLOCK_FLAG_CAN_SET_RESOLUTION", "can-set-resolution"},
|
|
|
|
{C_FLAGS (GST_CLOCK_FLAG_CAN_SET_MASTER), "GST_CLOCK_FLAG_CAN_SET_MASTER",
|
2006-05-12 14:53:49 +00:00
|
|
|
"can-set-master"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_CLOCK_FLAG_LAST), "GST_CLOCK_FLAG_LAST", "last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstClockFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2007-11-06 23:17:09 +00:00
|
|
|
/* enumerations from "gstdebugutils.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_debug_graph_details_get_type (void)
|
2007-11-06 23:17:09 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2007-11-06 23:17:09 +00:00
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE),
|
|
|
|
"GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE", "media-type"},
|
|
|
|
{C_FLAGS (GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS),
|
|
|
|
"GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS", "caps-details"},
|
|
|
|
{C_FLAGS (GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS),
|
|
|
|
"GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS", "non-default-params"},
|
|
|
|
{C_FLAGS (GST_DEBUG_GRAPH_SHOW_STATES), "GST_DEBUG_GRAPH_SHOW_STATES",
|
|
|
|
"states"},
|
|
|
|
{C_FLAGS (GST_DEBUG_GRAPH_SHOW_ALL), "GST_DEBUG_GRAPH_SHOW_ALL", "all"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstDebugGraphDetails", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2007-11-06 23:17:09 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2007-11-06 23:17:09 +00:00
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstelement.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_state_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_STATE_VOID_PENDING), "GST_STATE_VOID_PENDING", "void-pending"},
|
|
|
|
{C_ENUM (GST_STATE_NULL), "GST_STATE_NULL", "null"},
|
|
|
|
{C_ENUM (GST_STATE_READY), "GST_STATE_READY", "ready"},
|
|
|
|
{C_ENUM (GST_STATE_PAUSED), "GST_STATE_PAUSED", "paused"},
|
|
|
|
{C_ENUM (GST_STATE_PLAYING), "GST_STATE_PLAYING", "playing"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstState", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_state_change_return_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_STATE_CHANGE_FAILURE), "GST_STATE_CHANGE_FAILURE", "failure"},
|
|
|
|
{C_ENUM (GST_STATE_CHANGE_SUCCESS), "GST_STATE_CHANGE_SUCCESS", "success"},
|
|
|
|
{C_ENUM (GST_STATE_CHANGE_ASYNC), "GST_STATE_CHANGE_ASYNC", "async"},
|
|
|
|
{C_ENUM (GST_STATE_CHANGE_NO_PREROLL), "GST_STATE_CHANGE_NO_PREROLL",
|
|
|
|
"no-preroll"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstStateChangeReturn", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_state_change_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_STATE_CHANGE_NULL_TO_READY), "GST_STATE_CHANGE_NULL_TO_READY",
|
2006-05-12 14:53:49 +00:00
|
|
|
"null-to-ready"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_STATE_CHANGE_READY_TO_PAUSED),
|
|
|
|
"GST_STATE_CHANGE_READY_TO_PAUSED", "ready-to-paused"},
|
|
|
|
{C_ENUM (GST_STATE_CHANGE_PAUSED_TO_PLAYING),
|
|
|
|
"GST_STATE_CHANGE_PAUSED_TO_PLAYING", "paused-to-playing"},
|
|
|
|
{C_ENUM (GST_STATE_CHANGE_PLAYING_TO_PAUSED),
|
|
|
|
"GST_STATE_CHANGE_PLAYING_TO_PAUSED", "playing-to-paused"},
|
|
|
|
{C_ENUM (GST_STATE_CHANGE_PAUSED_TO_READY),
|
|
|
|
"GST_STATE_CHANGE_PAUSED_TO_READY", "paused-to-ready"},
|
|
|
|
{C_ENUM (GST_STATE_CHANGE_READY_TO_NULL), "GST_STATE_CHANGE_READY_TO_NULL",
|
2006-05-12 14:53:49 +00:00
|
|
|
"ready-to-null"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstStateChange", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_element_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_ELEMENT_FLAG_LOCKED_STATE), "GST_ELEMENT_FLAG_LOCKED_STATE",
|
|
|
|
"locked-state"},
|
|
|
|
{C_FLAGS (GST_ELEMENT_FLAG_SINK), "GST_ELEMENT_FLAG_SINK", "sink"},
|
|
|
|
{C_FLAGS (GST_ELEMENT_FLAG_SOURCE), "GST_ELEMENT_FLAG_SOURCE", "source"},
|
|
|
|
{C_FLAGS (GST_ELEMENT_FLAG_PROVIDE_CLOCK), "GST_ELEMENT_FLAG_PROVIDE_CLOCK",
|
|
|
|
"provide-clock"},
|
|
|
|
{C_FLAGS (GST_ELEMENT_FLAG_REQUIRE_CLOCK), "GST_ELEMENT_FLAG_REQUIRE_CLOCK",
|
|
|
|
"require-clock"},
|
|
|
|
{C_FLAGS (GST_ELEMENT_FLAG_INDEXABLE), "GST_ELEMENT_FLAG_INDEXABLE",
|
|
|
|
"indexable"},
|
|
|
|
{C_FLAGS (GST_ELEMENT_FLAG_LAST), "GST_ELEMENT_FLAG_LAST", "last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstElementFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gsterror.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_core_error_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_CORE_ERROR_FAILED), "GST_CORE_ERROR_FAILED", "failed"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_TOO_LAZY), "GST_CORE_ERROR_TOO_LAZY", "too-lazy"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_NOT_IMPLEMENTED), "GST_CORE_ERROR_NOT_IMPLEMENTED",
|
2006-05-12 14:53:49 +00:00
|
|
|
"not-implemented"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_CORE_ERROR_STATE_CHANGE), "GST_CORE_ERROR_STATE_CHANGE",
|
2006-05-12 14:53:49 +00:00
|
|
|
"state-change"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_CORE_ERROR_PAD), "GST_CORE_ERROR_PAD", "pad"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_THREAD), "GST_CORE_ERROR_THREAD", "thread"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_NEGOTIATION), "GST_CORE_ERROR_NEGOTIATION",
|
|
|
|
"negotiation"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_EVENT), "GST_CORE_ERROR_EVENT", "event"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_SEEK), "GST_CORE_ERROR_SEEK", "seek"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_CAPS), "GST_CORE_ERROR_CAPS", "caps"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_TAG), "GST_CORE_ERROR_TAG", "tag"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_MISSING_PLUGIN), "GST_CORE_ERROR_MISSING_PLUGIN",
|
2006-05-12 14:53:49 +00:00
|
|
|
"missing-plugin"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_CORE_ERROR_CLOCK), "GST_CORE_ERROR_CLOCK", "clock"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_DISABLED), "GST_CORE_ERROR_DISABLED", "disabled"},
|
|
|
|
{C_ENUM (GST_CORE_ERROR_NUM_ERRORS), "GST_CORE_ERROR_NUM_ERRORS",
|
|
|
|
"num-errors"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstCoreError", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_library_error_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_LIBRARY_ERROR_FAILED), "GST_LIBRARY_ERROR_FAILED", "failed"},
|
|
|
|
{C_ENUM (GST_LIBRARY_ERROR_TOO_LAZY), "GST_LIBRARY_ERROR_TOO_LAZY",
|
|
|
|
"too-lazy"},
|
|
|
|
{C_ENUM (GST_LIBRARY_ERROR_INIT), "GST_LIBRARY_ERROR_INIT", "init"},
|
|
|
|
{C_ENUM (GST_LIBRARY_ERROR_SHUTDOWN), "GST_LIBRARY_ERROR_SHUTDOWN",
|
|
|
|
"shutdown"},
|
|
|
|
{C_ENUM (GST_LIBRARY_ERROR_SETTINGS), "GST_LIBRARY_ERROR_SETTINGS",
|
|
|
|
"settings"},
|
|
|
|
{C_ENUM (GST_LIBRARY_ERROR_ENCODE), "GST_LIBRARY_ERROR_ENCODE", "encode"},
|
|
|
|
{C_ENUM (GST_LIBRARY_ERROR_NUM_ERRORS), "GST_LIBRARY_ERROR_NUM_ERRORS",
|
2006-05-12 14:53:49 +00:00
|
|
|
"num-errors"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstLibraryError", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_resource_error_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_FAILED), "GST_RESOURCE_ERROR_FAILED", "failed"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_TOO_LAZY), "GST_RESOURCE_ERROR_TOO_LAZY",
|
|
|
|
"too-lazy"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_NOT_FOUND), "GST_RESOURCE_ERROR_NOT_FOUND",
|
|
|
|
"not-found"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_BUSY), "GST_RESOURCE_ERROR_BUSY", "busy"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_OPEN_READ), "GST_RESOURCE_ERROR_OPEN_READ",
|
|
|
|
"open-read"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_OPEN_WRITE), "GST_RESOURCE_ERROR_OPEN_WRITE",
|
2006-05-12 14:53:49 +00:00
|
|
|
"open-write"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_OPEN_READ_WRITE),
|
|
|
|
"GST_RESOURCE_ERROR_OPEN_READ_WRITE", "open-read-write"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_CLOSE), "GST_RESOURCE_ERROR_CLOSE", "close"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_READ), "GST_RESOURCE_ERROR_READ", "read"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_WRITE), "GST_RESOURCE_ERROR_WRITE", "write"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_SEEK), "GST_RESOURCE_ERROR_SEEK", "seek"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_SYNC), "GST_RESOURCE_ERROR_SYNC", "sync"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_SETTINGS), "GST_RESOURCE_ERROR_SETTINGS",
|
|
|
|
"settings"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_NO_SPACE_LEFT),
|
|
|
|
"GST_RESOURCE_ERROR_NO_SPACE_LEFT", "no-space-left"},
|
|
|
|
{C_ENUM (GST_RESOURCE_ERROR_NUM_ERRORS), "GST_RESOURCE_ERROR_NUM_ERRORS",
|
2006-05-12 14:53:49 +00:00
|
|
|
"num-errors"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstResourceError", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_stream_error_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_STREAM_ERROR_FAILED), "GST_STREAM_ERROR_FAILED", "failed"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_TOO_LAZY), "GST_STREAM_ERROR_TOO_LAZY",
|
|
|
|
"too-lazy"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_NOT_IMPLEMENTED),
|
|
|
|
"GST_STREAM_ERROR_NOT_IMPLEMENTED", "not-implemented"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_TYPE_NOT_FOUND),
|
|
|
|
"GST_STREAM_ERROR_TYPE_NOT_FOUND", "type-not-found"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_WRONG_TYPE), "GST_STREAM_ERROR_WRONG_TYPE",
|
|
|
|
"wrong-type"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_CODEC_NOT_FOUND),
|
|
|
|
"GST_STREAM_ERROR_CODEC_NOT_FOUND", "codec-not-found"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_DECODE), "GST_STREAM_ERROR_DECODE", "decode"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_ENCODE), "GST_STREAM_ERROR_ENCODE", "encode"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_DEMUX), "GST_STREAM_ERROR_DEMUX", "demux"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_MUX), "GST_STREAM_ERROR_MUX", "mux"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_FORMAT), "GST_STREAM_ERROR_FORMAT", "format"},
|
2008-06-26 12:52:41 +00:00
|
|
|
{C_ENUM (GST_STREAM_ERROR_DECRYPT), "GST_STREAM_ERROR_DECRYPT", "decrypt"},
|
|
|
|
{C_ENUM (GST_STREAM_ERROR_DECRYPT_NOKEY), "GST_STREAM_ERROR_DECRYPT_NOKEY",
|
|
|
|
"decrypt-nokey"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_STREAM_ERROR_NUM_ERRORS), "GST_STREAM_ERROR_NUM_ERRORS",
|
|
|
|
"num-errors"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstStreamError", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gstevent.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_event_type_flags_get_type (void)
|
2005-11-30 09:12:57 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-30 09:12:57 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_EVENT_TYPE_UPSTREAM), "GST_EVENT_TYPE_UPSTREAM", "upstream"},
|
|
|
|
{C_FLAGS (GST_EVENT_TYPE_DOWNSTREAM), "GST_EVENT_TYPE_DOWNSTREAM",
|
|
|
|
"downstream"},
|
|
|
|
{C_FLAGS (GST_EVENT_TYPE_SERIALIZED), "GST_EVENT_TYPE_SERIALIZED",
|
|
|
|
"serialized"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_FLAGS (GST_EVENT_TYPE_STICKY), "GST_EVENT_TYPE_STICKY", "sticky"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_EVENT_TYPE_STICKY_MULTI), "GST_EVENT_TYPE_STICKY_MULTI",
|
|
|
|
"sticky-multi"},
|
2005-11-30 09:12:57 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstEventTypeFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-30 09:12:57 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-30 09:12:57 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_event_type_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_EVENT_UNKNOWN), "GST_EVENT_UNKNOWN", "unknown"},
|
|
|
|
{C_ENUM (GST_EVENT_FLUSH_START), "GST_EVENT_FLUSH_START", "flush-start"},
|
|
|
|
{C_ENUM (GST_EVENT_FLUSH_STOP), "GST_EVENT_FLUSH_STOP", "flush-stop"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_ENUM (GST_EVENT_STREAM_START), "GST_EVENT_STREAM_START", "stream-start"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_ENUM (GST_EVENT_CAPS), "GST_EVENT_CAPS", "caps"},
|
|
|
|
{C_ENUM (GST_EVENT_SEGMENT), "GST_EVENT_SEGMENT", "segment"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_EVENT_TAG), "GST_EVENT_TAG", "tag"},
|
|
|
|
{C_ENUM (GST_EVENT_BUFFERSIZE), "GST_EVENT_BUFFERSIZE", "buffersize"},
|
2010-01-26 19:35:52 +00:00
|
|
|
{C_ENUM (GST_EVENT_SINK_MESSAGE), "GST_EVENT_SINK_MESSAGE", "sink-message"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_ENUM (GST_EVENT_EOS), "GST_EVENT_EOS", "eos"},
|
2012-04-08 17:25:39 +00:00
|
|
|
{C_ENUM (GST_EVENT_TOC), "GST_EVENT_TOC", "toc"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_ENUM (GST_EVENT_SEGMENT_DONE), "GST_EVENT_SEGMENT_DONE", "segment-done"},
|
|
|
|
{C_ENUM (GST_EVENT_GAP), "GST_EVENT_GAP", "gap"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_EVENT_QOS), "GST_EVENT_QOS", "qos"},
|
|
|
|
{C_ENUM (GST_EVENT_SEEK), "GST_EVENT_SEEK", "seek"},
|
|
|
|
{C_ENUM (GST_EVENT_NAVIGATION), "GST_EVENT_NAVIGATION", "navigation"},
|
|
|
|
{C_ENUM (GST_EVENT_LATENCY), "GST_EVENT_LATENCY", "latency"},
|
2009-06-04 18:44:38 +00:00
|
|
|
{C_ENUM (GST_EVENT_STEP), "GST_EVENT_STEP", "step"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_ENUM (GST_EVENT_RECONFIGURE), "GST_EVENT_RECONFIGURE", "reconfigure"},
|
2012-04-08 17:25:39 +00:00
|
|
|
{C_ENUM (GST_EVENT_TOC_SELECT), "GST_EVENT_TOC_SELECT", "toc-select"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_EVENT_CUSTOM_UPSTREAM), "GST_EVENT_CUSTOM_UPSTREAM",
|
|
|
|
"custom-upstream"},
|
|
|
|
{C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM), "GST_EVENT_CUSTOM_DOWNSTREAM",
|
2006-05-12 14:53:49 +00:00
|
|
|
"custom-downstream"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM_OOB),
|
|
|
|
"GST_EVENT_CUSTOM_DOWNSTREAM_OOB", "custom-downstream-oob"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM_STICKY),
|
|
|
|
"GST_EVENT_CUSTOM_DOWNSTREAM_STICKY", "custom-downstream-sticky"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_EVENT_CUSTOM_BOTH), "GST_EVENT_CUSTOM_BOTH", "custom-both"},
|
|
|
|
{C_ENUM (GST_EVENT_CUSTOM_BOTH_OOB), "GST_EVENT_CUSTOM_BOTH_OOB",
|
|
|
|
"custom-both-oob"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstEventType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2011-04-16 13:56:03 +00:00
|
|
|
GType
|
|
|
|
gst_qos_type_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_QOS_TYPE_OVERFLOW), "GST_QOS_TYPE_OVERFLOW", "overflow"},
|
|
|
|
{C_ENUM (GST_QOS_TYPE_UNDERFLOW), "GST_QOS_TYPE_UNDERFLOW", "underflow"},
|
|
|
|
{C_ENUM (GST_QOS_TYPE_THROTTLE), "GST_QOS_TYPE_THROTTLE", "throttle"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstQOSType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2013-06-05 15:58:51 +00:00
|
|
|
GType
|
|
|
|
gst_stream_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_STREAM_FLAG_NONE), "GST_STREAM_FLAG_NONE", "none"},
|
|
|
|
{C_FLAGS (GST_STREAM_FLAG_SPARSE), "GST_STREAM_FLAG_SPARSE", "sparse"},
|
|
|
|
{C_FLAGS (GST_STREAM_FLAG_SELECT), "GST_STREAM_FLAG_SELECT", "select"},
|
|
|
|
{C_FLAGS (GST_STREAM_FLAG_UNSELECT), "GST_STREAM_FLAG_UNSELECT",
|
|
|
|
"unselect"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstStreamFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2012-02-08 14:16:46 +00:00
|
|
|
/* enumerations from "gstformat.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
2012-02-08 14:16:46 +00:00
|
|
|
gst_format_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_ENUM (GST_FORMAT_UNDEFINED), "GST_FORMAT_UNDEFINED", "undefined"},
|
|
|
|
{C_ENUM (GST_FORMAT_DEFAULT), "GST_FORMAT_DEFAULT", "default"},
|
|
|
|
{C_ENUM (GST_FORMAT_BYTES), "GST_FORMAT_BYTES", "bytes"},
|
|
|
|
{C_ENUM (GST_FORMAT_TIME), "GST_FORMAT_TIME", "time"},
|
|
|
|
{C_ENUM (GST_FORMAT_BUFFERS), "GST_FORMAT_BUFFERS", "buffers"},
|
|
|
|
{C_ENUM (GST_FORMAT_PERCENT), "GST_FORMAT_PERCENT", "percent"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
2012-02-08 14:16:46 +00:00
|
|
|
GType tmp = g_enum_register_static ("GstFormat", values);
|
2009-04-15 23:08:20 +00:00
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gstinfo.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_debug_level_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_LEVEL_NONE), "GST_LEVEL_NONE", "none"},
|
|
|
|
{C_ENUM (GST_LEVEL_ERROR), "GST_LEVEL_ERROR", "error"},
|
|
|
|
{C_ENUM (GST_LEVEL_WARNING), "GST_LEVEL_WARNING", "warning"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_ENUM (GST_LEVEL_FIXME), "GST_LEVEL_FIXME", "fixme"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_LEVEL_INFO), "GST_LEVEL_INFO", "info"},
|
|
|
|
{C_ENUM (GST_LEVEL_DEBUG), "GST_LEVEL_DEBUG", "debug"},
|
|
|
|
{C_ENUM (GST_LEVEL_LOG), "GST_LEVEL_LOG", "log"},
|
2010-06-26 16:48:31 +00:00
|
|
|
{C_ENUM (GST_LEVEL_TRACE), "GST_LEVEL_TRACE", "trace"},
|
2009-04-15 23:08:20 +00:00
|
|
|
{C_ENUM (GST_LEVEL_MEMDUMP), "GST_LEVEL_MEMDUMP", "memdump"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_LEVEL_COUNT), "GST_LEVEL_COUNT", "count"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstDebugLevel", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_debug_color_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_DEBUG_FG_BLACK), "GST_DEBUG_FG_BLACK", "fg-black"},
|
|
|
|
{C_ENUM (GST_DEBUG_FG_RED), "GST_DEBUG_FG_RED", "fg-red"},
|
|
|
|
{C_ENUM (GST_DEBUG_FG_GREEN), "GST_DEBUG_FG_GREEN", "fg-green"},
|
|
|
|
{C_ENUM (GST_DEBUG_FG_YELLOW), "GST_DEBUG_FG_YELLOW", "fg-yellow"},
|
|
|
|
{C_ENUM (GST_DEBUG_FG_BLUE), "GST_DEBUG_FG_BLUE", "fg-blue"},
|
|
|
|
{C_ENUM (GST_DEBUG_FG_MAGENTA), "GST_DEBUG_FG_MAGENTA", "fg-magenta"},
|
|
|
|
{C_ENUM (GST_DEBUG_FG_CYAN), "GST_DEBUG_FG_CYAN", "fg-cyan"},
|
|
|
|
{C_ENUM (GST_DEBUG_FG_WHITE), "GST_DEBUG_FG_WHITE", "fg-white"},
|
|
|
|
{C_ENUM (GST_DEBUG_BG_BLACK), "GST_DEBUG_BG_BLACK", "bg-black"},
|
|
|
|
{C_ENUM (GST_DEBUG_BG_RED), "GST_DEBUG_BG_RED", "bg-red"},
|
|
|
|
{C_ENUM (GST_DEBUG_BG_GREEN), "GST_DEBUG_BG_GREEN", "bg-green"},
|
|
|
|
{C_ENUM (GST_DEBUG_BG_YELLOW), "GST_DEBUG_BG_YELLOW", "bg-yellow"},
|
|
|
|
{C_ENUM (GST_DEBUG_BG_BLUE), "GST_DEBUG_BG_BLUE", "bg-blue"},
|
|
|
|
{C_ENUM (GST_DEBUG_BG_MAGENTA), "GST_DEBUG_BG_MAGENTA", "bg-magenta"},
|
|
|
|
{C_ENUM (GST_DEBUG_BG_CYAN), "GST_DEBUG_BG_CYAN", "bg-cyan"},
|
|
|
|
{C_ENUM (GST_DEBUG_BG_WHITE), "GST_DEBUG_BG_WHITE", "bg-white"},
|
|
|
|
{C_ENUM (GST_DEBUG_BOLD), "GST_DEBUG_BOLD", "bold"},
|
|
|
|
{C_ENUM (GST_DEBUG_UNDERLINE), "GST_DEBUG_UNDERLINE", "underline"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstDebugColorFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2013-07-29 11:34:53 +00:00
|
|
|
GType
|
|
|
|
gst_debug_color_mode_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_DEBUG_COLOR_MODE_OFF), "GST_DEBUG_COLOR_MODE_OFF", "off"},
|
|
|
|
{C_ENUM (GST_DEBUG_COLOR_MODE_ON), "GST_DEBUG_COLOR_MODE_ON", "on"},
|
|
|
|
{C_ENUM (GST_DEBUG_COLOR_MODE_UNIX), "GST_DEBUG_COLOR_MODE_UNIX", "unix"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstDebugColorMode", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstiterator.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_iterator_result_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_ITERATOR_DONE), "GST_ITERATOR_DONE", "done"},
|
|
|
|
{C_ENUM (GST_ITERATOR_OK), "GST_ITERATOR_OK", "ok"},
|
|
|
|
{C_ENUM (GST_ITERATOR_RESYNC), "GST_ITERATOR_RESYNC", "resync"},
|
|
|
|
{C_ENUM (GST_ITERATOR_ERROR), "GST_ITERATOR_ERROR", "error"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstIteratorResult", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_iterator_item_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_ITERATOR_ITEM_SKIP), "GST_ITERATOR_ITEM_SKIP", "skip"},
|
|
|
|
{C_ENUM (GST_ITERATOR_ITEM_PASS), "GST_ITERATOR_ITEM_PASS", "pass"},
|
|
|
|
{C_ENUM (GST_ITERATOR_ITEM_END), "GST_ITERATOR_ITEM_END", "end"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstIteratorItem", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gstmessage.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_message_type_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_UNKNOWN), "GST_MESSAGE_UNKNOWN", "unknown"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_EOS), "GST_MESSAGE_EOS", "eos"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_ERROR), "GST_MESSAGE_ERROR", "error"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_WARNING), "GST_MESSAGE_WARNING", "warning"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_INFO), "GST_MESSAGE_INFO", "info"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_TAG), "GST_MESSAGE_TAG", "tag"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_BUFFERING), "GST_MESSAGE_BUFFERING", "buffering"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_STATE_CHANGED), "GST_MESSAGE_STATE_CHANGED",
|
|
|
|
"state-changed"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_STATE_DIRTY), "GST_MESSAGE_STATE_DIRTY",
|
|
|
|
"state-dirty"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_STEP_DONE), "GST_MESSAGE_STEP_DONE", "step-done"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_CLOCK_PROVIDE), "GST_MESSAGE_CLOCK_PROVIDE",
|
|
|
|
"clock-provide"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_CLOCK_LOST), "GST_MESSAGE_CLOCK_LOST", "clock-lost"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_NEW_CLOCK), "GST_MESSAGE_NEW_CLOCK", "new-clock"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_STRUCTURE_CHANGE), "GST_MESSAGE_STRUCTURE_CHANGE",
|
2006-05-12 14:53:49 +00:00
|
|
|
"structure-change"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_STREAM_STATUS), "GST_MESSAGE_STREAM_STATUS",
|
|
|
|
"stream-status"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_APPLICATION), "GST_MESSAGE_APPLICATION",
|
|
|
|
"application"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_ELEMENT), "GST_MESSAGE_ELEMENT", "element"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_SEGMENT_START), "GST_MESSAGE_SEGMENT_START",
|
|
|
|
"segment-start"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_SEGMENT_DONE), "GST_MESSAGE_SEGMENT_DONE",
|
|
|
|
"segment-done"},
|
2012-09-11 14:29:12 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_DURATION_CHANGED), "GST_MESSAGE_DURATION_CHANGED",
|
|
|
|
"duration-changed"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_LATENCY), "GST_MESSAGE_LATENCY", "latency"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_ASYNC_START), "GST_MESSAGE_ASYNC_START",
|
|
|
|
"async-start"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_ASYNC_DONE), "GST_MESSAGE_ASYNC_DONE", "async-done"},
|
2009-03-08 17:22:43 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_REQUEST_STATE), "GST_MESSAGE_REQUEST_STATE",
|
|
|
|
"request-state"},
|
2009-07-20 14:51:20 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_STEP_START), "GST_MESSAGE_STEP_START", "step-start"},
|
2010-04-14 11:20:13 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_QOS), "GST_MESSAGE_QOS", "qos"},
|
2011-04-16 13:56:03 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_PROGRESS), "GST_MESSAGE_PROGRESS", "progress"},
|
2012-04-08 17:25:39 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_TOC), "GST_MESSAGE_TOC", "toc"},
|
2012-08-05 15:59:35 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_RESET_TIME), "GST_MESSAGE_RESET_TIME", "reset-time"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_STREAM_START), "GST_MESSAGE_STREAM_START",
|
|
|
|
"stream-start"},
|
2013-06-05 15:58:51 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_NEED_CONTEXT), "GST_MESSAGE_NEED_CONTEXT",
|
|
|
|
"need-context"},
|
|
|
|
{C_FLAGS (GST_MESSAGE_HAVE_CONTEXT), "GST_MESSAGE_HAVE_CONTEXT",
|
|
|
|
"have-context"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_MESSAGE_ANY), "GST_MESSAGE_ANY", "any"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstMessageType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_structure_change_type_get_type (void)
|
2009-03-08 17:22:43 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2009-03-08 17:22:43 +00:00
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_STRUCTURE_CHANGE_TYPE_PAD_LINK),
|
|
|
|
"GST_STRUCTURE_CHANGE_TYPE_PAD_LINK", "link"},
|
|
|
|
{C_ENUM (GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK),
|
|
|
|
"GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK", "unlink"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstStructureChangeType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2009-03-08 17:22:43 +00:00
|
|
|
}
|
|
|
|
|
2009-06-04 18:44:38 +00:00
|
|
|
GType
|
|
|
|
gst_stream_status_type_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_STREAM_STATUS_TYPE_CREATE), "GST_STREAM_STATUS_TYPE_CREATE",
|
|
|
|
"create"},
|
|
|
|
{C_ENUM (GST_STREAM_STATUS_TYPE_ENTER), "GST_STREAM_STATUS_TYPE_ENTER",
|
|
|
|
"enter"},
|
|
|
|
{C_ENUM (GST_STREAM_STATUS_TYPE_LEAVE), "GST_STREAM_STATUS_TYPE_LEAVE",
|
|
|
|
"leave"},
|
|
|
|
{C_ENUM (GST_STREAM_STATUS_TYPE_DESTROY), "GST_STREAM_STATUS_TYPE_DESTROY",
|
|
|
|
"destroy"},
|
|
|
|
{C_ENUM (GST_STREAM_STATUS_TYPE_START), "GST_STREAM_STATUS_TYPE_START",
|
|
|
|
"start"},
|
|
|
|
{C_ENUM (GST_STREAM_STATUS_TYPE_PAUSE), "GST_STREAM_STATUS_TYPE_PAUSE",
|
|
|
|
"pause"},
|
|
|
|
{C_ENUM (GST_STREAM_STATUS_TYPE_STOP), "GST_STREAM_STATUS_TYPE_STOP",
|
|
|
|
"stop"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstStreamStatusType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2011-04-16 13:56:03 +00:00
|
|
|
GType
|
|
|
|
gst_progress_type_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_PROGRESS_TYPE_START), "GST_PROGRESS_TYPE_START", "start"},
|
|
|
|
{C_ENUM (GST_PROGRESS_TYPE_CONTINUE), "GST_PROGRESS_TYPE_CONTINUE",
|
|
|
|
"continue"},
|
|
|
|
{C_ENUM (GST_PROGRESS_TYPE_COMPLETE), "GST_PROGRESS_TYPE_COMPLETE",
|
|
|
|
"complete"},
|
|
|
|
{C_ENUM (GST_PROGRESS_TYPE_CANCELED), "GST_PROGRESS_TYPE_CANCELED",
|
|
|
|
"canceled"},
|
|
|
|
{C_ENUM (GST_PROGRESS_TYPE_ERROR), "GST_PROGRESS_TYPE_ERROR", "error"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstProgressType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2012-02-08 14:16:46 +00:00
|
|
|
/* enumerations from "gstmeta.h" */
|
|
|
|
GType
|
|
|
|
gst_meta_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_META_FLAG_NONE), "GST_META_FLAG_NONE", "none"},
|
|
|
|
{C_FLAGS (GST_META_FLAG_READONLY), "GST_META_FLAG_READONLY", "readonly"},
|
|
|
|
{C_FLAGS (GST_META_FLAG_POOLED), "GST_META_FLAG_POOLED", "pooled"},
|
2012-05-13 14:02:36 +00:00
|
|
|
{C_FLAGS (GST_META_FLAG_LOCKED), "GST_META_FLAG_LOCKED", "locked"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_META_FLAG_LAST), "GST_META_FLAG_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstMetaFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2011-06-04 15:04:35 +00:00
|
|
|
/* enumerations from "gstmemory.h" */
|
|
|
|
GType
|
|
|
|
gst_memory_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_MEMORY_FLAG_READONLY), "GST_MEMORY_FLAG_READONLY",
|
|
|
|
"readonly"},
|
|
|
|
{C_FLAGS (GST_MEMORY_FLAG_NO_SHARE), "GST_MEMORY_FLAG_NO_SHARE",
|
|
|
|
"no-share"},
|
2012-03-22 14:49:36 +00:00
|
|
|
{C_FLAGS (GST_MEMORY_FLAG_ZERO_PREFIXED), "GST_MEMORY_FLAG_ZERO_PREFIXED",
|
|
|
|
"zero-prefixed"},
|
|
|
|
{C_FLAGS (GST_MEMORY_FLAG_ZERO_PADDED), "GST_MEMORY_FLAG_ZERO_PADDED",
|
|
|
|
"zero-padded"},
|
2013-06-05 15:58:51 +00:00
|
|
|
{C_FLAGS (GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS),
|
|
|
|
"GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS", "physically-contiguous"},
|
|
|
|
{C_FLAGS (GST_MEMORY_FLAG_NOT_MAPPABLE), "GST_MEMORY_FLAG_NOT_MAPPABLE",
|
|
|
|
"not-mappable"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_FLAGS (GST_MEMORY_FLAG_LAST), "GST_MEMORY_FLAG_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstMemoryFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
|
|
|
GType
|
|
|
|
gst_map_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_MAP_READ), "GST_MAP_READ", "read"},
|
|
|
|
{C_FLAGS (GST_MAP_WRITE), "GST_MAP_WRITE", "write"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_MAP_FLAG_LAST), "GST_MAP_FLAG_LAST", "flag-last"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstMapFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstminiobject.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_mini_object_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2012-08-05 15:59:35 +00:00
|
|
|
{C_FLAGS (GST_MINI_OBJECT_FLAG_LOCKABLE), "GST_MINI_OBJECT_FLAG_LOCKABLE",
|
|
|
|
"lockable"},
|
|
|
|
{C_FLAGS (GST_MINI_OBJECT_FLAG_LOCK_READONLY),
|
|
|
|
"GST_MINI_OBJECT_FLAG_LOCK_READONLY", "lock-readonly"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_MINI_OBJECT_FLAG_LAST), "GST_MINI_OBJECT_FLAG_LAST", "last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstMiniObjectFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2012-08-05 15:59:35 +00:00
|
|
|
GType
|
|
|
|
gst_lock_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_LOCK_FLAG_READ), "GST_LOCK_FLAG_READ", "read"},
|
|
|
|
{C_FLAGS (GST_LOCK_FLAG_WRITE), "GST_LOCK_FLAG_WRITE", "write"},
|
|
|
|
{C_FLAGS (GST_LOCK_FLAG_EXCLUSIVE), "GST_LOCK_FLAG_EXCLUSIVE", "exclusive"},
|
|
|
|
{C_FLAGS (GST_LOCK_FLAG_LAST), "GST_LOCK_FLAG_LAST", "last"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstLockFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstpad.h" */
|
2011-08-02 18:55:28 +00:00
|
|
|
GType
|
|
|
|
gst_pad_direction_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_PAD_UNKNOWN), "GST_PAD_UNKNOWN", "unknown"},
|
|
|
|
{C_ENUM (GST_PAD_SRC), "GST_PAD_SRC", "src"},
|
|
|
|
{C_ENUM (GST_PAD_SINK), "GST_PAD_SINK", "sink"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstPadDirection", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2012-02-08 14:16:46 +00:00
|
|
|
GType
|
|
|
|
gst_pad_mode_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_PAD_MODE_NONE), "GST_PAD_MODE_NONE", "none"},
|
|
|
|
{C_ENUM (GST_PAD_MODE_PUSH), "GST_PAD_MODE_PUSH", "push"},
|
|
|
|
{C_ENUM (GST_PAD_MODE_PULL), "GST_PAD_MODE_PULL", "pull"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstPadMode", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_pad_link_return_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_PAD_LINK_OK), "GST_PAD_LINK_OK", "ok"},
|
|
|
|
{C_ENUM (GST_PAD_LINK_WRONG_HIERARCHY), "GST_PAD_LINK_WRONG_HIERARCHY",
|
2006-05-12 14:53:49 +00:00
|
|
|
"wrong-hierarchy"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_PAD_LINK_WAS_LINKED), "GST_PAD_LINK_WAS_LINKED", "was-linked"},
|
|
|
|
{C_ENUM (GST_PAD_LINK_WRONG_DIRECTION), "GST_PAD_LINK_WRONG_DIRECTION",
|
2006-05-12 14:53:49 +00:00
|
|
|
"wrong-direction"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_PAD_LINK_NOFORMAT), "GST_PAD_LINK_NOFORMAT", "noformat"},
|
|
|
|
{C_ENUM (GST_PAD_LINK_NOSCHED), "GST_PAD_LINK_NOSCHED", "nosched"},
|
|
|
|
{C_ENUM (GST_PAD_LINK_REFUSED), "GST_PAD_LINK_REFUSED", "refused"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstPadLinkReturn", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_flow_return_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2010-04-25 20:15:51 +00:00
|
|
|
{C_ENUM (GST_FLOW_CUSTOM_SUCCESS_2), "GST_FLOW_CUSTOM_SUCCESS_2",
|
|
|
|
"custom-success-2"},
|
|
|
|
{C_ENUM (GST_FLOW_CUSTOM_SUCCESS_1), "GST_FLOW_CUSTOM_SUCCESS_1",
|
|
|
|
"custom-success-1"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_FLOW_CUSTOM_SUCCESS), "GST_FLOW_CUSTOM_SUCCESS",
|
|
|
|
"custom-success"},
|
|
|
|
{C_ENUM (GST_FLOW_OK), "GST_FLOW_OK", "ok"},
|
|
|
|
{C_ENUM (GST_FLOW_NOT_LINKED), "GST_FLOW_NOT_LINKED", "not-linked"},
|
2012-02-17 10:01:16 +00:00
|
|
|
{C_ENUM (GST_FLOW_FLUSHING), "GST_FLOW_FLUSHING", "flushing"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_ENUM (GST_FLOW_EOS), "GST_FLOW_EOS", "eos"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_FLOW_NOT_NEGOTIATED), "GST_FLOW_NOT_NEGOTIATED",
|
|
|
|
"not-negotiated"},
|
|
|
|
{C_ENUM (GST_FLOW_ERROR), "GST_FLOW_ERROR", "error"},
|
|
|
|
{C_ENUM (GST_FLOW_NOT_SUPPORTED), "GST_FLOW_NOT_SUPPORTED",
|
|
|
|
"not-supported"},
|
|
|
|
{C_ENUM (GST_FLOW_CUSTOM_ERROR), "GST_FLOW_CUSTOM_ERROR", "custom-error"},
|
2010-04-25 20:15:51 +00:00
|
|
|
{C_ENUM (GST_FLOW_CUSTOM_ERROR_1), "GST_FLOW_CUSTOM_ERROR_1",
|
|
|
|
"custom-error-1"},
|
|
|
|
{C_ENUM (GST_FLOW_CUSTOM_ERROR_2), "GST_FLOW_CUSTOM_ERROR_2",
|
|
|
|
"custom-error-2"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstFlowReturn", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2010-06-26 16:48:31 +00:00
|
|
|
GType
|
|
|
|
gst_pad_link_check_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_PAD_LINK_CHECK_NOTHING), "GST_PAD_LINK_CHECK_NOTHING",
|
|
|
|
"nothing"},
|
|
|
|
{C_FLAGS (GST_PAD_LINK_CHECK_HIERARCHY), "GST_PAD_LINK_CHECK_HIERARCHY",
|
|
|
|
"hierarchy"},
|
|
|
|
{C_FLAGS (GST_PAD_LINK_CHECK_TEMPLATE_CAPS),
|
|
|
|
"GST_PAD_LINK_CHECK_TEMPLATE_CAPS", "template-caps"},
|
|
|
|
{C_FLAGS (GST_PAD_LINK_CHECK_CAPS), "GST_PAD_LINK_CHECK_CAPS", "caps"},
|
2012-09-11 14:29:12 +00:00
|
|
|
{C_FLAGS (GST_PAD_LINK_CHECK_DEFAULT), "GST_PAD_LINK_CHECK_DEFAULT",
|
|
|
|
"default"},
|
2010-06-26 16:48:31 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstPadLinkCheck", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
2012-02-08 14:16:46 +00:00
|
|
|
gst_pad_probe_type_get_type (void)
|
2011-06-04 15:04:35 +00:00
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
2011-11-01 00:13:35 +00:00
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_INVALID), "GST_PAD_PROBE_TYPE_INVALID",
|
|
|
|
"invalid"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_IDLE), "GST_PAD_PROBE_TYPE_IDLE", "idle"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_BLOCK), "GST_PAD_PROBE_TYPE_BLOCK", "block"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_BUFFER), "GST_PAD_PROBE_TYPE_BUFFER",
|
|
|
|
"buffer"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_BUFFER_LIST), "GST_PAD_PROBE_TYPE_BUFFER_LIST",
|
2011-06-04 15:04:35 +00:00
|
|
|
"buffer-list"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM),
|
|
|
|
"GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM", "event-downstream"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_UPSTREAM),
|
|
|
|
"GST_PAD_PROBE_TYPE_EVENT_UPSTREAM", "event-upstream"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_FLUSH), "GST_PAD_PROBE_TYPE_EVENT_FLUSH",
|
|
|
|
"event-flush"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM),
|
|
|
|
"GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM", "query-downstream"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_QUERY_UPSTREAM),
|
|
|
|
"GST_PAD_PROBE_TYPE_QUERY_UPSTREAM", "query-upstream"},
|
2011-11-01 00:13:35 +00:00
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_PUSH), "GST_PAD_PROBE_TYPE_PUSH", "push"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_PULL), "GST_PAD_PROBE_TYPE_PULL", "pull"},
|
2013-06-05 15:58:51 +00:00
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_BLOCKING), "GST_PAD_PROBE_TYPE_BLOCKING",
|
|
|
|
"blocking"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM),
|
|
|
|
"GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM", "data-downstream"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_DATA_UPSTREAM),
|
|
|
|
"GST_PAD_PROBE_TYPE_DATA_UPSTREAM", "data-upstream"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_DATA_BOTH), "GST_PAD_PROBE_TYPE_DATA_BOTH",
|
|
|
|
"data-both"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM),
|
|
|
|
"GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM", "block-downstream"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM),
|
|
|
|
"GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM", "block-upstream"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_BOTH), "GST_PAD_PROBE_TYPE_EVENT_BOTH",
|
|
|
|
"event-both"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_QUERY_BOTH), "GST_PAD_PROBE_TYPE_QUERY_BOTH",
|
|
|
|
"query-both"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_ALL_BOTH), "GST_PAD_PROBE_TYPE_ALL_BOTH",
|
|
|
|
"all-both"},
|
|
|
|
{C_FLAGS (GST_PAD_PROBE_TYPE_SCHEDULING), "GST_PAD_PROBE_TYPE_SCHEDULING",
|
|
|
|
"scheduling"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
2011-11-01 00:13:35 +00:00
|
|
|
GType tmp = g_flags_register_static ("GstPadProbeType", values);
|
2011-06-04 15:04:35 +00:00
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
|
|
|
GType
|
2012-02-08 14:16:46 +00:00
|
|
|
gst_pad_probe_return_get_type (void)
|
2011-06-04 15:04:35 +00:00
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
2011-11-01 00:13:35 +00:00
|
|
|
{C_ENUM (GST_PAD_PROBE_DROP), "GST_PAD_PROBE_DROP", "drop"},
|
|
|
|
{C_ENUM (GST_PAD_PROBE_OK), "GST_PAD_PROBE_OK", "ok"},
|
|
|
|
{C_ENUM (GST_PAD_PROBE_REMOVE), "GST_PAD_PROBE_REMOVE", "remove"},
|
|
|
|
{C_ENUM (GST_PAD_PROBE_PASS), "GST_PAD_PROBE_PASS", "pass"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
2011-11-01 00:13:35 +00:00
|
|
|
GType tmp = g_enum_register_static ("GstPadProbeReturn", values);
|
2011-06-04 15:04:35 +00:00
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_pad_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_PAD_FLAG_BLOCKED), "GST_PAD_FLAG_BLOCKED", "blocked"},
|
|
|
|
{C_FLAGS (GST_PAD_FLAG_FLUSHING), "GST_PAD_FLAG_FLUSHING", "flushing"},
|
2012-06-07 13:56:17 +00:00
|
|
|
{C_FLAGS (GST_PAD_FLAG_EOS), "GST_PAD_FLAG_EOS", "eos"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_PAD_FLAG_BLOCKING), "GST_PAD_FLAG_BLOCKING", "blocking"},
|
|
|
|
{C_FLAGS (GST_PAD_FLAG_NEED_PARENT), "GST_PAD_FLAG_NEED_PARENT",
|
|
|
|
"need-parent"},
|
|
|
|
{C_FLAGS (GST_PAD_FLAG_NEED_RECONFIGURE), "GST_PAD_FLAG_NEED_RECONFIGURE",
|
2011-06-04 15:04:35 +00:00
|
|
|
"need-reconfigure"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_PAD_FLAG_PENDING_EVENTS), "GST_PAD_FLAG_PENDING_EVENTS",
|
|
|
|
"pending-events"},
|
|
|
|
{C_FLAGS (GST_PAD_FLAG_FIXED_CAPS), "GST_PAD_FLAG_FIXED_CAPS",
|
|
|
|
"fixed-caps"},
|
|
|
|
{C_FLAGS (GST_PAD_FLAG_PROXY_CAPS), "GST_PAD_FLAG_PROXY_CAPS",
|
|
|
|
"proxy-caps"},
|
|
|
|
{C_FLAGS (GST_PAD_FLAG_PROXY_ALLOCATION), "GST_PAD_FLAG_PROXY_ALLOCATION",
|
|
|
|
"proxy-allocation"},
|
2012-08-05 15:59:35 +00:00
|
|
|
{C_FLAGS (GST_PAD_FLAG_PROXY_SCHEDULING), "GST_PAD_FLAG_PROXY_SCHEDULING",
|
|
|
|
"proxy-scheduling"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_FLAGS (GST_PAD_FLAG_LAST), "GST_PAD_FLAG_LAST", "last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstPadFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gstpadtemplate.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_pad_presence_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_PAD_ALWAYS), "GST_PAD_ALWAYS", "always"},
|
|
|
|
{C_ENUM (GST_PAD_SOMETIMES), "GST_PAD_SOMETIMES", "sometimes"},
|
|
|
|
{C_ENUM (GST_PAD_REQUEST), "GST_PAD_REQUEST", "request"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstPadPresence", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_pad_template_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_PAD_TEMPLATE_FLAG_LAST), "GST_PAD_TEMPLATE_FLAG_LAST",
|
2011-06-04 15:04:35 +00:00
|
|
|
"last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstPadTemplateFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gstpipeline.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_pipeline_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_PIPELINE_FLAG_FIXED_CLOCK), "GST_PIPELINE_FLAG_FIXED_CLOCK",
|
2006-05-12 14:53:49 +00:00
|
|
|
"fixed-clock"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_PIPELINE_FLAG_LAST), "GST_PIPELINE_FLAG_LAST", "last"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstPipelineFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gstplugin.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_plugin_error_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_PLUGIN_ERROR_MODULE), "GST_PLUGIN_ERROR_MODULE", "module"},
|
|
|
|
{C_ENUM (GST_PLUGIN_ERROR_DEPENDENCIES), "GST_PLUGIN_ERROR_DEPENDENCIES",
|
2006-05-12 14:53:49 +00:00
|
|
|
"dependencies"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_PLUGIN_ERROR_NAME_MISMATCH), "GST_PLUGIN_ERROR_NAME_MISMATCH",
|
2006-05-12 14:53:49 +00:00
|
|
|
"name-mismatch"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstPluginError", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_plugin_flags_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GFlagsValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_FLAGS (GST_PLUGIN_FLAG_CACHED), "GST_PLUGIN_FLAG_CACHED", "cached"},
|
2010-01-26 19:35:52 +00:00
|
|
|
{C_FLAGS (GST_PLUGIN_FLAG_BLACKLISTED), "GST_PLUGIN_FLAG_BLACKLISTED",
|
|
|
|
"blacklisted"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstPluginFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_plugin_dependency_flags_get_type (void)
|
2009-03-08 17:22:43 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2009-03-08 17:22:43 +00:00
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
|
|
|
|
"GST_PLUGIN_DEPENDENCY_FLAG_NONE", "none"},
|
|
|
|
{C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
|
|
|
|
"GST_PLUGIN_DEPENDENCY_FLAG_RECURSE", "recurse"},
|
|
|
|
{C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
|
|
|
|
"GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY",
|
|
|
|
"paths-are-default-only"},
|
|
|
|
{C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
|
|
|
|
"GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX",
|
|
|
|
"file-name-is-suffix"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstPluginDependencyFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2009-03-08 17:22:43 +00:00
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstpluginfeature.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_rank_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_RANK_NONE), "GST_RANK_NONE", "none"},
|
|
|
|
{C_ENUM (GST_RANK_MARGINAL), "GST_RANK_MARGINAL", "marginal"},
|
|
|
|
{C_ENUM (GST_RANK_SECONDARY), "GST_RANK_SECONDARY", "secondary"},
|
|
|
|
{C_ENUM (GST_RANK_PRIMARY), "GST_RANK_PRIMARY", "primary"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstRank", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* enumerations from "gstquery.h" */
|
2012-03-22 14:49:36 +00:00
|
|
|
GType
|
|
|
|
gst_query_type_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_QUERY_TYPE_UPSTREAM), "GST_QUERY_TYPE_UPSTREAM", "upstream"},
|
|
|
|
{C_FLAGS (GST_QUERY_TYPE_DOWNSTREAM), "GST_QUERY_TYPE_DOWNSTREAM",
|
|
|
|
"downstream"},
|
|
|
|
{C_FLAGS (GST_QUERY_TYPE_SERIALIZED), "GST_QUERY_TYPE_SERIALIZED",
|
|
|
|
"serialized"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstQueryTypeFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_query_type_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2012-03-22 14:49:36 +00:00
|
|
|
{C_ENUM (GST_QUERY_UNKNOWN), "GST_QUERY_UNKNOWN", "unknown"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_QUERY_POSITION), "GST_QUERY_POSITION", "position"},
|
|
|
|
{C_ENUM (GST_QUERY_DURATION), "GST_QUERY_DURATION", "duration"},
|
|
|
|
{C_ENUM (GST_QUERY_LATENCY), "GST_QUERY_LATENCY", "latency"},
|
|
|
|
{C_ENUM (GST_QUERY_JITTER), "GST_QUERY_JITTER", "jitter"},
|
|
|
|
{C_ENUM (GST_QUERY_RATE), "GST_QUERY_RATE", "rate"},
|
|
|
|
{C_ENUM (GST_QUERY_SEEKING), "GST_QUERY_SEEKING", "seeking"},
|
|
|
|
{C_ENUM (GST_QUERY_SEGMENT), "GST_QUERY_SEGMENT", "segment"},
|
|
|
|
{C_ENUM (GST_QUERY_CONVERT), "GST_QUERY_CONVERT", "convert"},
|
|
|
|
{C_ENUM (GST_QUERY_FORMATS), "GST_QUERY_FORMATS", "formats"},
|
2008-06-26 12:52:41 +00:00
|
|
|
{C_ENUM (GST_QUERY_BUFFERING), "GST_QUERY_BUFFERING", "buffering"},
|
2009-03-08 17:22:43 +00:00
|
|
|
{C_ENUM (GST_QUERY_CUSTOM), "GST_QUERY_CUSTOM", "custom"},
|
|
|
|
{C_ENUM (GST_QUERY_URI), "GST_QUERY_URI", "uri"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{C_ENUM (GST_QUERY_ALLOCATION), "GST_QUERY_ALLOCATION", "allocation"},
|
|
|
|
{C_ENUM (GST_QUERY_SCHEDULING), "GST_QUERY_SCHEDULING", "scheduling"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_ENUM (GST_QUERY_ACCEPT_CAPS), "GST_QUERY_ACCEPT_CAPS", "accept-caps"},
|
|
|
|
{C_ENUM (GST_QUERY_CAPS), "GST_QUERY_CAPS", "caps"},
|
2012-03-22 14:49:36 +00:00
|
|
|
{C_ENUM (GST_QUERY_DRAIN), "GST_QUERY_DRAIN", "drain"},
|
2013-06-05 15:58:51 +00:00
|
|
|
{C_ENUM (GST_QUERY_CONTEXT), "GST_QUERY_CONTEXT", "context"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstQueryType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_buffering_mode_get_type (void)
|
2008-06-26 12:52:41 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2008-06-26 12:52:41 +00:00
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_BUFFERING_STREAM), "GST_BUFFERING_STREAM", "stream"},
|
|
|
|
{C_ENUM (GST_BUFFERING_DOWNLOAD), "GST_BUFFERING_DOWNLOAD", "download"},
|
|
|
|
{C_ENUM (GST_BUFFERING_TIMESHIFT), "GST_BUFFERING_TIMESHIFT", "timeshift"},
|
|
|
|
{C_ENUM (GST_BUFFERING_LIVE), "GST_BUFFERING_LIVE", "live"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstBufferingMode", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2008-06-26 12:52:41 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2008-06-26 12:52:41 +00:00
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2012-02-08 14:16:46 +00:00
|
|
|
GType
|
|
|
|
gst_scheduling_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_SCHEDULING_FLAG_SEEKABLE), "GST_SCHEDULING_FLAG_SEEKABLE",
|
|
|
|
"seekable"},
|
|
|
|
{C_FLAGS (GST_SCHEDULING_FLAG_SEQUENTIAL), "GST_SCHEDULING_FLAG_SEQUENTIAL",
|
|
|
|
"sequential"},
|
2013-03-29 13:56:57 +00:00
|
|
|
{C_FLAGS (GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED),
|
2013-06-05 15:58:51 +00:00
|
|
|
"GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED", "bandwidth-limited"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstSchedulingFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2011-06-04 15:04:35 +00:00
|
|
|
/* enumerations from "gstsegment.h" */
|
|
|
|
GType
|
|
|
|
gst_seek_type_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_SEEK_TYPE_NONE), "GST_SEEK_TYPE_NONE", "none"},
|
|
|
|
{C_ENUM (GST_SEEK_TYPE_SET), "GST_SEEK_TYPE_SET", "set"},
|
|
|
|
{C_ENUM (GST_SEEK_TYPE_END), "GST_SEEK_TYPE_END", "end"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstSeekType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
|
|
|
GType
|
|
|
|
gst_seek_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_SEEK_FLAG_NONE), "GST_SEEK_FLAG_NONE", "none"},
|
|
|
|
{C_FLAGS (GST_SEEK_FLAG_FLUSH), "GST_SEEK_FLAG_FLUSH", "flush"},
|
|
|
|
{C_FLAGS (GST_SEEK_FLAG_ACCURATE), "GST_SEEK_FLAG_ACCURATE", "accurate"},
|
|
|
|
{C_FLAGS (GST_SEEK_FLAG_KEY_UNIT), "GST_SEEK_FLAG_KEY_UNIT", "key-unit"},
|
|
|
|
{C_FLAGS (GST_SEEK_FLAG_SEGMENT), "GST_SEEK_FLAG_SEGMENT", "segment"},
|
|
|
|
{C_FLAGS (GST_SEEK_FLAG_SKIP), "GST_SEEK_FLAG_SKIP", "skip"},
|
2012-04-30 08:58:09 +00:00
|
|
|
{C_FLAGS (GST_SEEK_FLAG_SNAP_BEFORE), "GST_SEEK_FLAG_SNAP_BEFORE",
|
|
|
|
"snap-before"},
|
|
|
|
{C_FLAGS (GST_SEEK_FLAG_SNAP_AFTER), "GST_SEEK_FLAG_SNAP_AFTER",
|
|
|
|
"snap-after"},
|
2012-05-13 14:02:36 +00:00
|
|
|
{C_FLAGS (GST_SEEK_FLAG_SNAP_NEAREST), "GST_SEEK_FLAG_SNAP_NEAREST",
|
|
|
|
"snap-nearest"},
|
2011-06-04 15:04:35 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstSeekFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2011-08-02 18:55:28 +00:00
|
|
|
GType
|
|
|
|
gst_segment_flags_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
2012-10-07 12:10:33 +00:00
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_SEGMENT_FLAG_NONE), "GST_SEGMENT_FLAG_NONE", "none"},
|
|
|
|
{C_FLAGS (GST_SEGMENT_FLAG_RESET), "GST_SEGMENT_FLAG_RESET", "reset"},
|
|
|
|
{C_FLAGS (GST_SEGMENT_FLAG_SKIP), "GST_SEGMENT_FLAG_SKIP", "skip"},
|
|
|
|
{C_FLAGS (GST_SEGMENT_FLAG_SEGMENT), "GST_SEGMENT_FLAG_SEGMENT", "segment"},
|
2011-08-02 18:55:28 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
2012-10-07 12:10:33 +00:00
|
|
|
GType tmp = g_flags_register_static ("GstSegmentFlags", values);
|
2011-08-02 18:55:28 +00:00
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2009-03-08 17:22:43 +00:00
|
|
|
/* enumerations from "gstsystemclock.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_clock_type_get_type (void)
|
2009-03-08 17:22:43 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2009-03-08 17:22:43 +00:00
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_CLOCK_TYPE_REALTIME), "GST_CLOCK_TYPE_REALTIME", "realtime"},
|
|
|
|
{C_ENUM (GST_CLOCK_TYPE_MONOTONIC), "GST_CLOCK_TYPE_MONOTONIC",
|
|
|
|
"monotonic"},
|
2013-06-05 15:58:51 +00:00
|
|
|
{C_ENUM (GST_CLOCK_TYPE_OTHER), "GST_CLOCK_TYPE_OTHER", "other"},
|
2009-03-08 17:22:43 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstClockType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2009-03-08 17:22:43 +00:00
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gsttaglist.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_tag_merge_mode_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_TAG_MERGE_UNDEFINED), "GST_TAG_MERGE_UNDEFINED", "undefined"},
|
|
|
|
{C_ENUM (GST_TAG_MERGE_REPLACE_ALL), "GST_TAG_MERGE_REPLACE_ALL",
|
|
|
|
"replace-all"},
|
|
|
|
{C_ENUM (GST_TAG_MERGE_REPLACE), "GST_TAG_MERGE_REPLACE", "replace"},
|
|
|
|
{C_ENUM (GST_TAG_MERGE_APPEND), "GST_TAG_MERGE_APPEND", "append"},
|
|
|
|
{C_ENUM (GST_TAG_MERGE_PREPEND), "GST_TAG_MERGE_PREPEND", "prepend"},
|
|
|
|
{C_ENUM (GST_TAG_MERGE_KEEP), "GST_TAG_MERGE_KEEP", "keep"},
|
|
|
|
{C_ENUM (GST_TAG_MERGE_KEEP_ALL), "GST_TAG_MERGE_KEEP_ALL", "keep-all"},
|
|
|
|
{C_ENUM (GST_TAG_MERGE_COUNT), "GST_TAG_MERGE_COUNT", "count"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstTagMergeMode", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-11-02 08:56:00 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_tag_flag_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_TAG_FLAG_UNDEFINED), "GST_TAG_FLAG_UNDEFINED", "undefined"},
|
|
|
|
{C_ENUM (GST_TAG_FLAG_META), "GST_TAG_FLAG_META", "meta"},
|
|
|
|
{C_ENUM (GST_TAG_FLAG_ENCODED), "GST_TAG_FLAG_ENCODED", "encoded"},
|
|
|
|
{C_ENUM (GST_TAG_FLAG_DECODED), "GST_TAG_FLAG_DECODED", "decoded"},
|
|
|
|
{C_ENUM (GST_TAG_FLAG_COUNT), "GST_TAG_FLAG_COUNT", "count"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstTagFlag", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2012-08-05 15:59:35 +00:00
|
|
|
GType
|
|
|
|
gst_tag_scope_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_TAG_SCOPE_STREAM), "GST_TAG_SCOPE_STREAM", "stream"},
|
|
|
|
{C_ENUM (GST_TAG_SCOPE_GLOBAL), "GST_TAG_SCOPE_GLOBAL", "global"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstTagScope", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gsttask.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_task_state_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_TASK_STARTED), "GST_TASK_STARTED", "started"},
|
|
|
|
{C_ENUM (GST_TASK_STOPPED), "GST_TASK_STOPPED", "stopped"},
|
|
|
|
{C_ENUM (GST_TASK_PAUSED), "GST_TASK_PAUSED", "paused"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstTaskState", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2012-04-08 17:25:39 +00:00
|
|
|
/* enumerations from "gsttoc.h" */
|
2012-08-05 15:59:35 +00:00
|
|
|
GType
|
|
|
|
gst_toc_scope_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_TOC_SCOPE_GLOBAL), "GST_TOC_SCOPE_GLOBAL", "global"},
|
|
|
|
{C_ENUM (GST_TOC_SCOPE_CURRENT), "GST_TOC_SCOPE_CURRENT", "current"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstTocScope", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2012-04-08 17:25:39 +00:00
|
|
|
GType
|
|
|
|
gst_toc_entry_type_get_type (void)
|
|
|
|
{
|
|
|
|
static gsize id = 0;
|
|
|
|
static const GEnumValue values[] = {
|
2012-08-05 15:59:35 +00:00
|
|
|
{C_ENUM (GST_TOC_ENTRY_TYPE_ANGLE), "GST_TOC_ENTRY_TYPE_ANGLE", "angle"},
|
|
|
|
{C_ENUM (GST_TOC_ENTRY_TYPE_VERSION), "GST_TOC_ENTRY_TYPE_VERSION",
|
|
|
|
"version"},
|
2012-04-08 17:25:39 +00:00
|
|
|
{C_ENUM (GST_TOC_ENTRY_TYPE_EDITION), "GST_TOC_ENTRY_TYPE_EDITION",
|
|
|
|
"edition"},
|
2012-08-05 15:59:35 +00:00
|
|
|
{C_ENUM (GST_TOC_ENTRY_TYPE_INVALID), "GST_TOC_ENTRY_TYPE_INVALID",
|
|
|
|
"invalid"},
|
|
|
|
{C_ENUM (GST_TOC_ENTRY_TYPE_TITLE), "GST_TOC_ENTRY_TYPE_TITLE", "title"},
|
|
|
|
{C_ENUM (GST_TOC_ENTRY_TYPE_TRACK), "GST_TOC_ENTRY_TYPE_TRACK", "track"},
|
|
|
|
{C_ENUM (GST_TOC_ENTRY_TYPE_CHAPTER), "GST_TOC_ENTRY_TYPE_CHAPTER",
|
|
|
|
"chapter"},
|
2012-04-08 17:25:39 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstTocEntryType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
|
|
|
|
|
|
|
return (GType) id;
|
|
|
|
}
|
|
|
|
|
2012-02-08 14:16:46 +00:00
|
|
|
/* enumerations from "gsttypefind.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
2012-02-08 14:16:46 +00:00
|
|
|
gst_type_find_probability_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2012-02-08 14:16:46 +00:00
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_TYPE_FIND_NONE), "GST_TYPE_FIND_NONE", "none"},
|
|
|
|
{C_ENUM (GST_TYPE_FIND_MINIMUM), "GST_TYPE_FIND_MINIMUM", "minimum"},
|
|
|
|
{C_ENUM (GST_TYPE_FIND_POSSIBLE), "GST_TYPE_FIND_POSSIBLE", "possible"},
|
|
|
|
{C_ENUM (GST_TYPE_FIND_LIKELY), "GST_TYPE_FIND_LIKELY", "likely"},
|
|
|
|
{C_ENUM (GST_TYPE_FIND_NEARLY_CERTAIN), "GST_TYPE_FIND_NEARLY_CERTAIN",
|
|
|
|
"nearly-certain"},
|
|
|
|
{C_ENUM (GST_TYPE_FIND_MAXIMUM), "GST_TYPE_FIND_MAXIMUM", "maximum"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
2012-02-08 14:16:46 +00:00
|
|
|
GType tmp = g_enum_register_static ("GstTypeFindProbability", values);
|
2009-04-15 23:08:20 +00:00
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2012-02-08 14:16:46 +00:00
|
|
|
/* enumerations from "gsturi.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
2012-02-08 14:16:46 +00:00
|
|
|
gst_uri_error_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2012-08-05 15:59:35 +00:00
|
|
|
{C_ENUM (GST_URI_ERROR_UNSUPPORTED_PROTOCOL),
|
|
|
|
"GST_URI_ERROR_UNSUPPORTED_PROTOCOL", "unsupported-protocol"},
|
|
|
|
{C_ENUM (GST_URI_ERROR_BAD_URI), "GST_URI_ERROR_BAD_URI", "bad-uri"},
|
|
|
|
{C_ENUM (GST_URI_ERROR_BAD_STATE), "GST_URI_ERROR_BAD_STATE", "bad-state"},
|
2012-02-08 14:16:46 +00:00
|
|
|
{C_ENUM (GST_URI_ERROR_BAD_REFERENCE), "GST_URI_ERROR_BAD_REFERENCE",
|
2012-08-05 15:59:35 +00:00
|
|
|
"bad-reference"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
2012-02-08 14:16:46 +00:00
|
|
|
GType tmp = g_enum_register_static ("GstURIError", values);
|
2009-04-15 23:08:20 +00:00
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_uri_type_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_URI_UNKNOWN), "GST_URI_UNKNOWN", "unknown"},
|
|
|
|
{C_ENUM (GST_URI_SINK), "GST_URI_SINK", "sink"},
|
|
|
|
{C_ENUM (GST_URI_SRC), "GST_URI_SRC", "src"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstURIType", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-10-12 20:23:42 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
|
|
|
|
2009-03-08 17:22:43 +00:00
|
|
|
/* enumerations from "gstutils.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_search_mode_get_type (void)
|
2009-03-08 17:22:43 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2009-03-08 17:22:43 +00:00
|
|
|
static const GEnumValue values[] = {
|
|
|
|
{C_ENUM (GST_SEARCH_MODE_EXACT), "GST_SEARCH_MODE_EXACT", "exact"},
|
|
|
|
{C_ENUM (GST_SEARCH_MODE_BEFORE), "GST_SEARCH_MODE_BEFORE", "before"},
|
|
|
|
{C_ENUM (GST_SEARCH_MODE_AFTER), "GST_SEARCH_MODE_AFTER", "after"},
|
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstSearchMode", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2009-03-08 17:22:43 +00:00
|
|
|
}
|
|
|
|
|
2005-10-12 20:23:42 +00:00
|
|
|
/* enumerations from "gstparse.h" */
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_parse_error_get_type (void)
|
2005-11-02 08:56:00 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2005-11-02 08:56:00 +00:00
|
|
|
static const GEnumValue values[] = {
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_PARSE_ERROR_SYNTAX), "GST_PARSE_ERROR_SYNTAX", "syntax"},
|
|
|
|
{C_ENUM (GST_PARSE_ERROR_NO_SUCH_ELEMENT),
|
|
|
|
"GST_PARSE_ERROR_NO_SUCH_ELEMENT", "no-such-element"},
|
|
|
|
{C_ENUM (GST_PARSE_ERROR_NO_SUCH_PROPERTY),
|
|
|
|
"GST_PARSE_ERROR_NO_SUCH_PROPERTY", "no-such-property"},
|
|
|
|
{C_ENUM (GST_PARSE_ERROR_LINK), "GST_PARSE_ERROR_LINK", "link"},
|
|
|
|
{C_ENUM (GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY),
|
2006-05-12 14:53:49 +00:00
|
|
|
"GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property"},
|
2007-10-08 20:45:07 +00:00
|
|
|
{C_ENUM (GST_PARSE_ERROR_EMPTY_BIN), "GST_PARSE_ERROR_EMPTY_BIN",
|
|
|
|
"empty-bin"},
|
|
|
|
{C_ENUM (GST_PARSE_ERROR_EMPTY), "GST_PARSE_ERROR_EMPTY", "empty"},
|
2005-11-02 08:56:00 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_enum_register_static ("GstParseError", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2005-11-02 08:56:00 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2005-10-12 20:23:42 +00:00
|
|
|
}
|
2009-03-08 17:22:43 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
GType
|
|
|
|
gst_parse_flags_get_type (void)
|
2008-06-26 12:52:41 +00:00
|
|
|
{
|
2009-04-15 23:08:20 +00:00
|
|
|
static gsize id = 0;
|
2008-06-26 12:52:41 +00:00
|
|
|
static const GFlagsValue values[] = {
|
|
|
|
{C_FLAGS (GST_PARSE_FLAG_NONE), "GST_PARSE_FLAG_NONE", "none"},
|
|
|
|
{C_FLAGS (GST_PARSE_FLAG_FATAL_ERRORS), "GST_PARSE_FLAG_FATAL_ERRORS",
|
|
|
|
"fatal-errors"},
|
2013-08-28 10:36:16 +00:00
|
|
|
{C_FLAGS (GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS),
|
|
|
|
"GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS", "no-single-element-bins"},
|
2008-06-26 12:52:41 +00:00
|
|
|
{0, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
if (g_once_init_enter (&id)) {
|
|
|
|
GType tmp = g_flags_register_static ("GstParseFlags", values);
|
|
|
|
g_once_init_leave (&id, tmp);
|
|
|
|
}
|
2008-06-26 12:52:41 +00:00
|
|
|
|
2009-04-15 23:08:20 +00:00
|
|
|
return (GType) id;
|
2008-06-26 12:52:41 +00:00
|
|
|
}
|