win32/gstenumtypes.c: Update from gst/gstenumtypes.c (See bug #153882)

Original commit message from CVS:
* win32/gstenumtypes.c: Update from gst/gstenumtypes.c (See
bug #153882)
* win32/gstenumtypes.h: same
This commit is contained in:
David Schleef 2004-12-17 01:29:59 +00:00
parent df7ac68e78
commit af234f772c
3 changed files with 123 additions and 96 deletions

View file

@ -1,3 +1,9 @@
2004-12-16 David Schleef <ds@schleef.org>
* win32/gstenumtypes.c: Update from gst/gstenumtypes.c (See
bug #153882)
* win32/gstenumtypes.h: same
2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net> 2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstpad.c: (gst_pad_query): * gst/gstpad.c: (gst_pad_query):

View file

@ -1,6 +1,7 @@
/* Generated data (by glib-mkenums) */ /* Generated data (by glib-mkenums) */
#include "gst_private.h"
#include <gst/gst.h> #include <gst/gst.h>
/* enumerations from "gstobject.h" */ /* enumerations from "gstobject.h" */
@ -16,7 +17,6 @@ gst_object_flags_get_type (void)
{GST_OBJECT_FLAG_LAST, "GST_OBJECT_FLAG_LAST", "object-flag-last"}, {GST_OBJECT_FLAG_LAST, "GST_OBJECT_FLAG_LAST", "object-flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstObjectFlags", values); etype = g_enum_register_static ("GstObjectFlags", values);
} }
return etype; return etype;
@ -41,7 +41,6 @@ gst_bin_flags_get_type (void)
{GST_BIN_FLAG_LAST, "GST_BIN_FLAG_LAST", "flag-last"}, {GST_BIN_FLAG_LAST, "GST_BIN_FLAG_LAST", "flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstBinFlags", values); etype = g_enum_register_static ("GstBinFlags", values);
} }
return etype; return etype;
@ -62,10 +61,11 @@ gst_buffer_flag_get_type (void)
{GST_BUFFER_DONTFREE, "GST_BUFFER_DONTFREE", "dontfree"}, {GST_BUFFER_DONTFREE, "GST_BUFFER_DONTFREE", "dontfree"},
{GST_BUFFER_KEY_UNIT, "GST_BUFFER_KEY_UNIT", "key-unit"}, {GST_BUFFER_KEY_UNIT, "GST_BUFFER_KEY_UNIT", "key-unit"},
{GST_BUFFER_DONTKEEP, "GST_BUFFER_DONTKEEP", "dontkeep"}, {GST_BUFFER_DONTKEEP, "GST_BUFFER_DONTKEEP", "dontkeep"},
{GST_BUFFER_IN_CAPS, "GST_BUFFER_IN_CAPS", "in-caps"},
{GST_BUFFER_DELTA_UNIT, "GST_BUFFER_DELTA_UNIT", "delta-unit"},
{GST_BUFFER_FLAG_LAST, "GST_BUFFER_FLAG_LAST", "flag-last"}, {GST_BUFFER_FLAG_LAST, "GST_BUFFER_FLAG_LAST", "flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstBufferFlag", values); etype = g_enum_register_static ("GstBufferFlag", values);
} }
return etype; return etype;
@ -85,7 +85,6 @@ gst_clock_entry_status_get_type (void)
{GST_CLOCK_ENTRY_RESTART, "GST_CLOCK_ENTRY_RESTART", "restart"}, {GST_CLOCK_ENTRY_RESTART, "GST_CLOCK_ENTRY_RESTART", "restart"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstClockEntryStatus", values); etype = g_enum_register_static ("GstClockEntryStatus", values);
} }
return etype; return etype;
@ -102,7 +101,6 @@ gst_clock_entry_type_get_type (void)
{GST_CLOCK_ENTRY_PERIODIC, "GST_CLOCK_ENTRY_PERIODIC", "periodic"}, {GST_CLOCK_ENTRY_PERIODIC, "GST_CLOCK_ENTRY_PERIODIC", "periodic"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstClockEntryType", values); etype = g_enum_register_static ("GstClockEntryType", values);
} }
return etype; return etype;
@ -122,7 +120,6 @@ gst_clock_return_get_type (void)
{GST_CLOCK_UNSUPPORTED, "GST_CLOCK_UNSUPPORTED", "unsupported"}, {GST_CLOCK_UNSUPPORTED, "GST_CLOCK_UNSUPPORTED", "unsupported"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstClockReturn", values); etype = g_enum_register_static ("GstClockReturn", values);
} }
return etype; return etype;
@ -149,7 +146,6 @@ gst_clock_flags_get_type (void)
"set-speed"}, "set-speed"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstClockFlags", values); etype = g_flags_register_static ("GstClockFlags", values);
} }
return etype; return etype;
@ -170,7 +166,6 @@ gst_cpu_flags_get_type (void)
{GST_CPU_FLAG_3DNOW, "GST_CPU_FLAG_3DNOW", "3dnow"}, {GST_CPU_FLAG_3DNOW, "GST_CPU_FLAG_3DNOW", "3dnow"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstCPUFlags", values); etype = g_flags_register_static ("GstCPUFlags", values);
} }
return etype; return etype;
@ -189,7 +184,6 @@ gst_data_flags_get_type (void)
{GST_DATA_FLAG_LAST, "GST_DATA_FLAG_LAST", "flag-last"}, {GST_DATA_FLAG_LAST, "GST_DATA_FLAG_LAST", "flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstDataFlags", values); etype = g_enum_register_static ("GstDataFlags", values);
} }
return etype; return etype;
@ -223,7 +217,6 @@ gst_element_flags_get_type (void)
{GST_ELEMENT_FLAG_LAST, "GST_ELEMENT_FLAG_LAST", "flag-last"}, {GST_ELEMENT_FLAG_LAST, "GST_ELEMENT_FLAG_LAST", "flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstElementFlags", values); etype = g_enum_register_static ("GstElementFlags", values);
} }
return etype; return etype;
@ -255,7 +248,6 @@ gst_core_error_get_type (void)
{GST_CORE_ERROR_NUM_ERRORS, "GST_CORE_ERROR_NUM_ERRORS", "num-errors"}, {GST_CORE_ERROR_NUM_ERRORS, "GST_CORE_ERROR_NUM_ERRORS", "num-errors"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstCoreError", values); etype = g_enum_register_static ("GstCoreError", values);
} }
return etype; return etype;
@ -278,7 +270,6 @@ gst_library_error_get_type (void)
"num-errors"}, "num-errors"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstLibraryError", values); etype = g_enum_register_static ("GstLibraryError", values);
} }
return etype; return etype;
@ -312,7 +303,6 @@ gst_resource_error_get_type (void)
"num-errors"}, "num-errors"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstResourceError", values); etype = g_enum_register_static ("GstResourceError", values);
} }
return etype; return etype;
@ -344,7 +334,6 @@ gst_stream_error_get_type (void)
"num-errors"}, "num-errors"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstStreamError", values); etype = g_enum_register_static ("GstStreamError", values);
} }
return etype; return etype;
@ -377,7 +366,6 @@ gst_event_type_get_type (void)
{GST_EVENT_TAG, "GST_EVENT_TAG", "tag"}, {GST_EVENT_TAG, "GST_EVENT_TAG", "tag"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstEventType", values); etype = g_enum_register_static ("GstEventType", values);
} }
return etype; return etype;
@ -394,7 +382,6 @@ gst_event_flag_get_type (void)
{GST_RATE_FLAG_NEGATIVE, "GST_RATE_FLAG_NEGATIVE", "rate-flag-negative"}, {GST_RATE_FLAG_NEGATIVE, "GST_RATE_FLAG_NEGATIVE", "rate-flag-negative"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstEventFlag", values); etype = g_flags_register_static ("GstEventFlag", values);
} }
return etype; return etype;
@ -417,7 +404,6 @@ gst_seek_type_get_type (void)
"flag-segment-loop"}, "flag-segment-loop"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstSeekType", values); etype = g_flags_register_static ("GstSeekType", values);
} }
return etype; return etype;
@ -434,7 +420,6 @@ gst_seek_accuracy_get_type (void)
{GST_SEEK_FUZZY, "GST_SEEK_FUZZY", "fuzzy"}, {GST_SEEK_FUZZY, "GST_SEEK_FUZZY", "fuzzy"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstSeekAccuracy", values); etype = g_enum_register_static ("GstSeekAccuracy", values);
} }
return etype; return etype;
@ -457,7 +442,6 @@ gst_format_get_type (void)
{GST_FORMAT_PERCENT, "GST_FORMAT_PERCENT", "percent"}, {GST_FORMAT_PERCENT, "GST_FORMAT_PERCENT", "percent"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstFormat", values); etype = g_enum_register_static ("GstFormat", values);
} }
return etype; return etype;
@ -477,7 +461,6 @@ gst_index_certainty_get_type (void)
{GST_INDEX_FUZZY, "GST_INDEX_FUZZY", "fuzzy"}, {GST_INDEX_FUZZY, "GST_INDEX_FUZZY", "fuzzy"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstIndexCertainty", values); etype = g_enum_register_static ("GstIndexCertainty", values);
} }
return etype; return etype;
@ -497,7 +480,6 @@ gst_index_entry_type_get_type (void)
{GST_INDEX_ENTRY_FORMAT, "GST_INDEX_ENTRY_FORMAT", "format"}, {GST_INDEX_ENTRY_FORMAT, "GST_INDEX_ENTRY_FORMAT", "format"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstIndexEntryType", values); etype = g_enum_register_static ("GstIndexEntryType", values);
} }
return etype; return etype;
@ -515,7 +497,6 @@ gst_index_lookup_method_get_type (void)
{GST_INDEX_LOOKUP_AFTER, "GST_INDEX_LOOKUP_AFTER", "after"}, {GST_INDEX_LOOKUP_AFTER, "GST_INDEX_LOOKUP_AFTER", "after"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstIndexLookupMethod", values); etype = g_enum_register_static ("GstIndexLookupMethod", values);
} }
return etype; return etype;
@ -531,10 +512,11 @@ gst_assoc_flags_get_type (void)
{GST_ASSOCIATION_FLAG_NONE, "GST_ASSOCIATION_FLAG_NONE", "none"}, {GST_ASSOCIATION_FLAG_NONE, "GST_ASSOCIATION_FLAG_NONE", "none"},
{GST_ASSOCIATION_FLAG_KEY_UNIT, "GST_ASSOCIATION_FLAG_KEY_UNIT", {GST_ASSOCIATION_FLAG_KEY_UNIT, "GST_ASSOCIATION_FLAG_KEY_UNIT",
"key-unit"}, "key-unit"},
{GST_ASSOCIATION_FLAG_DELTA_UNIT, "GST_ASSOCIATION_FLAG_DELTA_UNIT",
"delta-unit"},
{GST_ASSOCIATION_FLAG_LAST, "GST_ASSOCIATION_FLAG_LAST", "last"}, {GST_ASSOCIATION_FLAG_LAST, "GST_ASSOCIATION_FLAG_LAST", "last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstAssocFlags", values); etype = g_flags_register_static ("GstAssocFlags", values);
} }
return etype; return etype;
@ -552,7 +534,6 @@ gst_index_resolver_method_get_type (void)
{GST_INDEX_RESOLVER_PATH, "GST_INDEX_RESOLVER_PATH", "path"}, {GST_INDEX_RESOLVER_PATH, "GST_INDEX_RESOLVER_PATH", "path"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstIndexResolverMethod", values); etype = g_enum_register_static ("GstIndexResolverMethod", values);
} }
return etype; return etype;
@ -570,7 +551,6 @@ gst_index_flags_get_type (void)
{GST_INDEX_FLAG_LAST, "GST_INDEX_FLAG_LAST", "flag-last"}, {GST_INDEX_FLAG_LAST, "GST_INDEX_FLAG_LAST", "flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstIndexFlags", values); etype = g_enum_register_static ("GstIndexFlags", values);
} }
return etype; return etype;
@ -594,7 +574,6 @@ gst_debug_level_get_type (void)
{GST_LEVEL_COUNT, "GST_LEVEL_COUNT", "count"}, {GST_LEVEL_COUNT, "GST_LEVEL_COUNT", "count"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstDebugLevel", values); etype = g_enum_register_static ("GstDebugLevel", values);
} }
return etype; return etype;
@ -627,7 +606,6 @@ gst_debug_color_flags_get_type (void)
{GST_DEBUG_UNDERLINE, "GST_DEBUG_UNDERLINE", "underline"}, {GST_DEBUG_UNDERLINE, "GST_DEBUG_UNDERLINE", "underline"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstDebugColorFlags", values); etype = g_enum_register_static ("GstDebugColorFlags", values);
} }
return etype; return etype;
@ -648,7 +626,6 @@ gst_pad_link_return_get_type (void)
{GST_PAD_LINK_DONE, "GST_PAD_LINK_DONE", "done"}, {GST_PAD_LINK_DONE, "GST_PAD_LINK_DONE", "done"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstPadLinkReturn", values); etype = g_enum_register_static ("GstPadLinkReturn", values);
} }
return etype; return etype;
@ -666,7 +643,6 @@ gst_pad_direction_get_type (void)
{GST_PAD_SINK, "GST_PAD_SINK", "sink"}, {GST_PAD_SINK, "GST_PAD_SINK", "sink"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstPadDirection", values); etype = g_enum_register_static ("GstPadDirection", values);
} }
return etype; return etype;
@ -681,10 +657,10 @@ gst_pad_flags_get_type (void)
static const GEnumValue values[] = { static const GEnumValue values[] = {
{GST_PAD_DISABLED, "GST_PAD_DISABLED", "disabled"}, {GST_PAD_DISABLED, "GST_PAD_DISABLED", "disabled"},
{GST_PAD_NEGOTIATING, "GST_PAD_NEGOTIATING", "negotiating"}, {GST_PAD_NEGOTIATING, "GST_PAD_NEGOTIATING", "negotiating"},
{GST_PAD_DISPATCHING, "GST_PAD_DISPATCHING", "dispatching"},
{GST_PAD_FLAG_LAST, "GST_PAD_FLAG_LAST", "flag-last"}, {GST_PAD_FLAG_LAST, "GST_PAD_FLAG_LAST", "flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstPadFlags", values); etype = g_enum_register_static ("GstPadFlags", values);
} }
return etype; return etype;
@ -702,7 +678,6 @@ gst_pad_presence_get_type (void)
{GST_PAD_REQUEST, "GST_PAD_REQUEST", "request"}, {GST_PAD_REQUEST, "GST_PAD_REQUEST", "request"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstPadPresence", values); etype = g_enum_register_static ("GstPadPresence", values);
} }
return etype; return etype;
@ -719,7 +694,6 @@ gst_pad_template_flags_get_type (void)
{GST_PAD_TEMPLATE_FLAG_LAST, "GST_PAD_TEMPLATE_FLAG_LAST", "flag-last"}, {GST_PAD_TEMPLATE_FLAG_LAST, "GST_PAD_TEMPLATE_FLAG_LAST", "flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstPadTemplateFlags", values); etype = g_enum_register_static ("GstPadTemplateFlags", values);
} }
return etype; return etype;
@ -741,7 +715,6 @@ gst_plugin_error_get_type (void)
"name-mismatch"}, "name-mismatch"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstPluginError", values); etype = g_enum_register_static ("GstPluginError", values);
} }
return etype; return etype;
@ -766,7 +739,6 @@ gst_query_type_get_type (void)
{GST_QUERY_RATE, "GST_QUERY_RATE", "rate"}, {GST_QUERY_RATE, "GST_QUERY_RATE", "rate"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstQueryType", values); etype = g_enum_register_static ("GstQueryType", values);
} }
return etype; return etype;
@ -787,7 +759,6 @@ gst_scheduler_flags_get_type (void)
{GST_SCHEDULER_FLAG_LAST, "GST_SCHEDULER_FLAG_LAST", "last"}, {GST_SCHEDULER_FLAG_LAST, "GST_SCHEDULER_FLAG_LAST", "last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstSchedulerFlags", values); etype = g_enum_register_static ("GstSchedulerFlags", values);
} }
return etype; return etype;
@ -806,7 +777,6 @@ gst_scheduler_state_get_type (void)
{GST_SCHEDULER_STATE_ERROR, "GST_SCHEDULER_STATE_ERROR", "error"}, {GST_SCHEDULER_STATE_ERROR, "GST_SCHEDULER_STATE_ERROR", "error"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstSchedulerState", values); etype = g_enum_register_static ("GstSchedulerState", values);
} }
return etype; return etype;
@ -831,7 +801,6 @@ gst_tag_merge_mode_get_type (void)
{GST_TAG_MERGE_COUNT, "GST_TAG_MERGE_COUNT", "count"}, {GST_TAG_MERGE_COUNT, "GST_TAG_MERGE_COUNT", "count"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstTagMergeMode", values); etype = g_enum_register_static ("GstTagMergeMode", values);
} }
return etype; return etype;
@ -851,7 +820,6 @@ gst_tag_flag_get_type (void)
{GST_TAG_FLAG_COUNT, "GST_TAG_FLAG_COUNT", "count"}, {GST_TAG_FLAG_COUNT, "GST_TAG_FLAG_COUNT", "count"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstTagFlag", values); etype = g_enum_register_static ("GstTagFlag", values);
} }
return etype; return etype;
@ -869,11 +837,10 @@ gst_thread_state_get_type (void)
{GST_THREAD_STATE_SPINNING, "GST_THREAD_STATE_SPINNING", {GST_THREAD_STATE_SPINNING, "GST_THREAD_STATE_SPINNING",
"state-spinning"}, "state-spinning"},
{GST_THREAD_STATE_REAPING, "GST_THREAD_STATE_REAPING", "state-reaping"}, {GST_THREAD_STATE_REAPING, "GST_THREAD_STATE_REAPING", "state-reaping"},
{GST_THREAD_MUTEX_LOCKED, "GST_THREAD_MUTEX_LOCKED", "mutex-locked"}, {GST_THREAD_STATE_WAITING, "GST_THREAD_STATE_WAITING", "state-waiting"},
{GST_THREAD_FLAG_LAST, "GST_THREAD_FLAG_LAST", "flag-last"}, {GST_THREAD_FLAG_LAST, "GST_THREAD_FLAG_LAST", "flag-last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstThreadState", values); etype = g_enum_register_static ("GstThreadState", values);
} }
return etype; return etype;
@ -892,7 +859,6 @@ gst_alloc_trace_flags_get_type (void)
{GST_ALLOC_TRACE_MEM_LIVE, "GST_ALLOC_TRACE_MEM_LIVE", "mem-live"}, {GST_ALLOC_TRACE_MEM_LIVE, "GST_ALLOC_TRACE_MEM_LIVE", "mem-live"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstAllocTraceFlags", values); etype = g_flags_register_static ("GstAllocTraceFlags", values);
} }
return etype; return etype;
@ -915,7 +881,6 @@ gst_type_find_probability_get_type (void)
{GST_TYPE_FIND_MAXIMUM, "GST_TYPE_FIND_MAXIMUM", "maximum"}, {GST_TYPE_FIND_MAXIMUM, "GST_TYPE_FIND_MAXIMUM", "maximum"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstTypeFindProbability", values); etype = g_enum_register_static ("GstTypeFindProbability", values);
} }
return etype; return etype;
@ -937,7 +902,6 @@ gst_element_state_get_type (void)
{GST_STATE_PLAYING, "GST_STATE_PLAYING", "playing"}, {GST_STATE_PLAYING, "GST_STATE_PLAYING", "playing"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstElementState", values); etype = g_flags_register_static ("GstElementState", values);
} }
return etype; return etype;
@ -955,7 +919,6 @@ gst_element_state_return_get_type (void)
{GST_STATE_ASYNC, "GST_STATE_ASYNC", "async"}, {GST_STATE_ASYNC, "GST_STATE_ASYNC", "async"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstElementStateReturn", values); etype = g_enum_register_static ("GstElementStateReturn", values);
} }
return etype; return etype;
@ -973,12 +936,29 @@ gst_result_get_type (void)
{GST_RESULT_NOT_IMPL, "GST_RESULT_NOT_IMPL", "not-impl"}, {GST_RESULT_NOT_IMPL, "GST_RESULT_NOT_IMPL", "not-impl"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstResult", values); etype = g_enum_register_static ("GstResult", values);
} }
return etype; return etype;
} }
GType
gst_rank_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RANK_NONE, "GST_RANK_NONE", "none"},
{GST_RANK_MARGINAL, "GST_RANK_MARGINAL", "marginal"},
{GST_RANK_SECONDARY, "GST_RANK_SECONDARY", "secondary"},
{GST_RANK_PRIMARY, "GST_RANK_PRIMARY", "primary"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstRank", values);
}
return etype;
}
/* enumerations from "gsturi.h" */ /* enumerations from "gsturi.h" */
GType GType
@ -993,7 +973,6 @@ gst_uri_type_get_type (void)
{GST_URI_SRC, "GST_URI_SRC", "src"}, {GST_URI_SRC, "GST_URI_SRC", "src"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstURIType", values); etype = g_enum_register_static ("GstURIType", values);
} }
return etype; return etype;
@ -1017,7 +996,6 @@ gst_registry_return_get_type (void)
"GST_REGISTRY_PLUGIN_SIGNATURE_ERROR", "plugin-signature-error"}, "GST_REGISTRY_PLUGIN_SIGNATURE_ERROR", "plugin-signature-error"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstRegistryReturn", values); etype = g_flags_register_static ("GstRegistryReturn", values);
} }
return etype; return etype;
@ -1038,7 +1016,6 @@ gst_registry_flags_get_type (void)
"delayed-loading"}, "delayed-loading"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstRegistryFlags", values); etype = g_flags_register_static ("GstRegistryFlags", values);
} }
return etype; return etype;
@ -1065,7 +1042,6 @@ gst_parse_error_get_type (void)
{GST_PARSE_ERROR_EMPTY, "GST_PARSE_ERROR_EMPTY", "empty"}, {GST_PARSE_ERROR_EMPTY, "GST_PARSE_ERROR_EMPTY", "empty"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstParseError", values); etype = g_enum_register_static ("GstParseError", values);
} }
return etype; return etype;

View file

@ -5,205 +5,250 @@
#define __GST_ENUM_TYPES_H__ #define __GST_ENUM_TYPES_H__
#include <glib-object.h> #include <glib-object.h>
#include <gst/gstconfig.h>
G_BEGIN_DECLS G_BEGIN_DECLS
/* enumerations from "gstobject.h" */ /* enumerations from "gstobject.h" */
GType gst_object_flags_get_type (void); GType gst_object_flags_get_type (void);
#define GST_TYPE_OBJECT_FLAGS (gst_object_flags_get_type()) #define GST_TYPE_OBJECT_FLAGS (gst_object_flags_get_type())
/* enumerations from "gstbin.h" */ /* enumerations from "gstbin.h" */
GType gst_bin_flags_get_type (void); GType gst_bin_flags_get_type (void);
#define GST_TYPE_BIN_FLAGS (gst_bin_flags_get_type()) #define GST_TYPE_BIN_FLAGS (gst_bin_flags_get_type())
/* enumerations from "gstbuffer.h" */ /* enumerations from "gstbuffer.h" */
GType gst_buffer_flag_get_type (void); GType gst_buffer_flag_get_type (void);
#define GST_TYPE_BUFFER_FLAG (gst_buffer_flag_get_type()) #define GST_TYPE_BUFFER_FLAG (gst_buffer_flag_get_type())
/* enumerations from "gstclock.h" */ /* enumerations from "gstclock.h" */
GType gst_clock_entry_status_get_type (void); GType gst_clock_entry_status_get_type (void);
#define GST_TYPE_CLOCK_ENTRY_STATUS (gst_clock_entry_status_get_type()) #define GST_TYPE_CLOCK_ENTRY_STATUS (gst_clock_entry_status_get_type())
GType gst_clock_entry_type_get_type (void); GType gst_clock_entry_type_get_type (void);
#define GST_TYPE_CLOCK_ENTRY_TYPE (gst_clock_entry_type_get_type()) #define GST_TYPE_CLOCK_ENTRY_TYPE (gst_clock_entry_type_get_type())
GType gst_clock_return_get_type (void); GType gst_clock_return_get_type (void);
#define GST_TYPE_CLOCK_RETURN (gst_clock_return_get_type()) #define GST_TYPE_CLOCK_RETURN (gst_clock_return_get_type())
GType gst_clock_flags_get_type (void); GType gst_clock_flags_get_type (void);
#define GST_TYPE_CLOCK_FLAGS (gst_clock_flags_get_type()) #define GST_TYPE_CLOCK_FLAGS (gst_clock_flags_get_type())
/* enumerations from "gstcpu.h" */ /* enumerations from "gstcpu.h" */
GType gst_cpu_flags_get_type (void); GType gst_cpu_flags_get_type (void);
#define GST_TYPE_CPU_FLAGS (gst_cpu_flags_get_type()) #define GST_TYPE_CPU_FLAGS (gst_cpu_flags_get_type())
/* enumerations from "gstdata.h" */ /* enumerations from "gstdata.h" */
GType gst_data_flags_get_type (void); GType gst_data_flags_get_type (void);
#define GST_TYPE_DATA_FLAGS (gst_data_flags_get_type()) #define GST_TYPE_DATA_FLAGS (gst_data_flags_get_type())
/* enumerations from "gstelement.h" */ /* enumerations from "gstelement.h" */
GType gst_element_flags_get_type (void); GType gst_element_flags_get_type (void);
#define GST_TYPE_ELEMENT_FLAGS (gst_element_flags_get_type()) #define GST_TYPE_ELEMENT_FLAGS (gst_element_flags_get_type())
/* enumerations from "gsterror.h" */ /* enumerations from "gsterror.h" */
GType gst_core_error_get_type (void); GType gst_core_error_get_type (void);
#define GST_TYPE_CORE_ERROR (gst_core_error_get_type()) #define GST_TYPE_CORE_ERROR (gst_core_error_get_type())
GType gst_library_error_get_type (void); GType gst_library_error_get_type (void);
#define GST_TYPE_LIBRARY_ERROR (gst_library_error_get_type()) #define GST_TYPE_LIBRARY_ERROR (gst_library_error_get_type())
GType gst_resource_error_get_type (void); GType gst_resource_error_get_type (void);
#define GST_TYPE_RESOURCE_ERROR (gst_resource_error_get_type()) #define GST_TYPE_RESOURCE_ERROR (gst_resource_error_get_type())
GType gst_stream_error_get_type (void); GType gst_stream_error_get_type (void);
#define GST_TYPE_STREAM_ERROR (gst_stream_error_get_type()) #define GST_TYPE_STREAM_ERROR (gst_stream_error_get_type())
/* enumerations from "gstevent.h" */ /* enumerations from "gstevent.h" */
GType gst_event_type_get_type (void); GType gst_event_type_get_type (void);
#define GST_TYPE_EVENT_TYPE (gst_event_type_get_type()) #define GST_TYPE_EVENT_TYPE (gst_event_type_get_type())
GType gst_event_flag_get_type (void); GType gst_event_flag_get_type (void);
#define GST_TYPE_EVENT_FLAG (gst_event_flag_get_type()) #define GST_TYPE_EVENT_FLAG (gst_event_flag_get_type())
GType gst_seek_type_get_type (void); GType gst_seek_type_get_type (void);
#define GST_TYPE_SEEK_TYPE (gst_seek_type_get_type()) #define GST_TYPE_SEEK_TYPE (gst_seek_type_get_type())
GType gst_seek_accuracy_get_type (void); GType gst_seek_accuracy_get_type (void);
#define GST_TYPE_SEEK_ACCURACY (gst_seek_accuracy_get_type()) #define GST_TYPE_SEEK_ACCURACY (gst_seek_accuracy_get_type())
/* enumerations from "gstformat.h" */ /* enumerations from "gstformat.h" */
GType gst_format_get_type (void); GType gst_format_get_type (void);
#define GST_TYPE_FORMAT (gst_format_get_type()) #define GST_TYPE_FORMAT (gst_format_get_type())
/* enumerations from "gstindex.h" */ /* enumerations from "gstindex.h" */
GType gst_index_certainty_get_type (void); GType gst_index_certainty_get_type (void);
#define GST_TYPE_INDEX_CERTAINTY (gst_index_certainty_get_type()) #define GST_TYPE_INDEX_CERTAINTY (gst_index_certainty_get_type())
GType gst_index_entry_type_get_type (void); GType gst_index_entry_type_get_type (void);
#define GST_TYPE_INDEX_ENTRY_TYPE (gst_index_entry_type_get_type()) #define GST_TYPE_INDEX_ENTRY_TYPE (gst_index_entry_type_get_type())
GType gst_index_lookup_method_get_type (void); GType gst_index_lookup_method_get_type (void);
#define GST_TYPE_INDEX_LOOKUP_METHOD (gst_index_lookup_method_get_type()) #define GST_TYPE_INDEX_LOOKUP_METHOD (gst_index_lookup_method_get_type())
GType gst_assoc_flags_get_type (void); GType gst_assoc_flags_get_type (void);
#define GST_TYPE_ASSOC_FLAGS (gst_assoc_flags_get_type()) #define GST_TYPE_ASSOC_FLAGS (gst_assoc_flags_get_type())
GType gst_index_resolver_method_get_type (void); GType gst_index_resolver_method_get_type (void);
#define GST_TYPE_INDEX_RESOLVER_METHOD (gst_index_resolver_method_get_type()) #define GST_TYPE_INDEX_RESOLVER_METHOD (gst_index_resolver_method_get_type())
GType gst_index_flags_get_type (void); GType gst_index_flags_get_type (void);
#define GST_TYPE_INDEX_FLAGS (gst_index_flags_get_type()) #define GST_TYPE_INDEX_FLAGS (gst_index_flags_get_type())
/* enumerations from "gstinfo.h" */ /* enumerations from "gstinfo.h" */
GType gst_debug_level_get_type (void); GType gst_debug_level_get_type (void);
#define GST_TYPE_DEBUG_LEVEL (gst_debug_level_get_type()) #define GST_TYPE_DEBUG_LEVEL (gst_debug_level_get_type())
GType gst_debug_color_flags_get_type (void); GType gst_debug_color_flags_get_type (void);
#define GST_TYPE_DEBUG_COLOR_FLAGS (gst_debug_color_flags_get_type()) #define GST_TYPE_DEBUG_COLOR_FLAGS (gst_debug_color_flags_get_type())
/* enumerations from "gstpad.h" */ /* enumerations from "gstpad.h" */
GType gst_pad_link_return_get_type (void); GType gst_pad_link_return_get_type (void);
#define GST_TYPE_PAD_LINK_RETURN (gst_pad_link_return_get_type()) #define GST_TYPE_PAD_LINK_RETURN (gst_pad_link_return_get_type())
GType gst_pad_direction_get_type (void); GType gst_pad_direction_get_type (void);
#define GST_TYPE_PAD_DIRECTION (gst_pad_direction_get_type()) #define GST_TYPE_PAD_DIRECTION (gst_pad_direction_get_type())
GType gst_pad_flags_get_type (void); GType gst_pad_flags_get_type (void);
#define GST_TYPE_PAD_FLAGS (gst_pad_flags_get_type()) #define GST_TYPE_PAD_FLAGS (gst_pad_flags_get_type())
GType gst_pad_presence_get_type (void); GType gst_pad_presence_get_type (void);
#define GST_TYPE_PAD_PRESENCE (gst_pad_presence_get_type()) #define GST_TYPE_PAD_PRESENCE (gst_pad_presence_get_type())
GType gst_pad_template_flags_get_type (void); GType gst_pad_template_flags_get_type (void);
#define GST_TYPE_PAD_TEMPLATE_FLAGS (gst_pad_template_flags_get_type()) #define GST_TYPE_PAD_TEMPLATE_FLAGS (gst_pad_template_flags_get_type())
/* enumerations from "gstplugin.h" */ /* enumerations from "gstplugin.h" */
GType gst_plugin_error_get_type (void); GType gst_plugin_error_get_type (void);
#define GST_TYPE_PLUGIN_ERROR (gst_plugin_error_get_type()) #define GST_TYPE_PLUGIN_ERROR (gst_plugin_error_get_type())
/* enumerations from "gstquery.h" */ /* enumerations from "gstquery.h" */
GType gst_query_type_get_type (void); GType gst_query_type_get_type (void);
#define GST_TYPE_QUERY_TYPE (gst_query_type_get_type()) #define GST_TYPE_QUERY_TYPE (gst_query_type_get_type())
/* enumerations from "gstscheduler.h" */ /* enumerations from "gstscheduler.h" */
GType gst_scheduler_flags_get_type (void); GType gst_scheduler_flags_get_type (void);
#define GST_TYPE_SCHEDULER_FLAGS (gst_scheduler_flags_get_type()) #define GST_TYPE_SCHEDULER_FLAGS (gst_scheduler_flags_get_type())
GType gst_scheduler_state_get_type (void); GType gst_scheduler_state_get_type (void);
#define GST_TYPE_SCHEDULER_STATE (gst_scheduler_state_get_type()) #define GST_TYPE_SCHEDULER_STATE (gst_scheduler_state_get_type())
/* enumerations from "gsttag.h" */ /* enumerations from "gsttag.h" */
GType gst_tag_merge_mode_get_type (void); GType gst_tag_merge_mode_get_type (void);
#define GST_TYPE_TAG_MERGE_MODE (gst_tag_merge_mode_get_type()) #define GST_TYPE_TAG_MERGE_MODE (gst_tag_merge_mode_get_type())
GType gst_tag_flag_get_type (void); GType gst_tag_flag_get_type (void);
#define GST_TYPE_TAG_FLAG (gst_tag_flag_get_type()) #define GST_TYPE_TAG_FLAG (gst_tag_flag_get_type())
/* enumerations from "gstthread.h" */ /* enumerations from "gstthread.h" */
GType gst_thread_state_get_type (void); GType gst_thread_state_get_type (void);
#define GST_TYPE_THREAD_STATE (gst_thread_state_get_type()) #define GST_TYPE_THREAD_STATE (gst_thread_state_get_type())
/* enumerations from "gsttrace.h" */ /* enumerations from "gsttrace.h" */
GType gst_alloc_trace_flags_get_type (void); GType gst_alloc_trace_flags_get_type (void);
#define GST_TYPE_ALLOC_TRACE_FLAGS (gst_alloc_trace_flags_get_type()) #define GST_TYPE_ALLOC_TRACE_FLAGS (gst_alloc_trace_flags_get_type())
/* enumerations from "gsttypefind.h" */ /* enumerations from "gsttypefind.h" */
GType gst_type_find_probability_get_type (void); GType gst_type_find_probability_get_type (void);
#define GST_TYPE_TYPE_FIND_PROBABILITY (gst_type_find_probability_get_type()) #define GST_TYPE_TYPE_FIND_PROBABILITY (gst_type_find_probability_get_type())
/* enumerations from "gsttypes.h" */ /* enumerations from "gsttypes.h" */
GType gst_element_state_get_type (void); GType gst_element_state_get_type (void);
#define GST_TYPE_ELEMENT_STATE (gst_element_state_get_type()) #define GST_TYPE_ELEMENT_STATE (gst_element_state_get_type())
GType gst_element_state_return_get_type (void); GType gst_element_state_return_get_type (void);
#define GST_TYPE_ELEMENT_STATE_RETURN (gst_element_state_return_get_type()) #define GST_TYPE_ELEMENT_STATE_RETURN (gst_element_state_return_get_type())
GType gst_result_get_type (void); GType gst_result_get_type (void);
#define GST_TYPE_RESULT (gst_result_get_type()) #define GST_TYPE_RESULT (gst_result_get_type())
GType gst_rank_get_type (void);
#define GST_TYPE_RANK (gst_rank_get_type())
/* enumerations from "gsturi.h" */ /* enumerations from "gsturi.h" */
GType gst_uri_type_get_type (void); GType gst_uri_type_get_type (void);
#define GST_TYPE_URI_TYPE (gst_uri_type_get_type()) #define GST_TYPE_URI_TYPE (gst_uri_type_get_type())
/* enumerations from "gstregistry.h" */ /* enumerations from "gstregistry.h" */
GType gst_registry_return_get_type (void); GType gst_registry_return_get_type (void);
#define GST_TYPE_REGISTRY_RETURN (gst_registry_return_get_type()) #define GST_TYPE_REGISTRY_RETURN (gst_registry_return_get_type())
GType gst_registry_flags_get_type (void); GType gst_registry_flags_get_type (void);
#define GST_TYPE_REGISTRY_FLAGS (gst_registry_flags_get_type()) #define GST_TYPE_REGISTRY_FLAGS (gst_registry_flags_get_type())
/* enumerations from "gstparse.h" */ /* enumerations from "gstparse.h" */
GType gst_parse_error_get_type (void); GType gst_parse_error_get_type (void);
#define GST_TYPE_PARSE_ERROR (gst_parse_error_get_type()) #define GST_TYPE_PARSE_ERROR (gst_parse_error_get_type())
G_END_DECLS G_END_DECLS
#endif /* __GST_ENUM_TYPES_H__ */ #endif /* __GST_ENUM_TYPES_H__ */
/* Generated data ends here */ /* Generated data ends here */