win32/gstenumtypes.*: Update.

Original commit message from CVS:
* win32/gstenumtypes.c:
* win32/gstenumtypes.h:
Update.
This commit is contained in:
Tim-Philipp Müller 2005-09-19 20:01:45 +00:00
parent 2bd297144f
commit 4c3e9eba9a
3 changed files with 98 additions and 95 deletions

View file

@ -1,3 +1,9 @@
2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
* win32/gstenumtypes.c:
* win32/gstenumtypes.h:
Update.
2005-09-19 Wim Taymans <wim@fluendo.com> 2005-09-19 Wim Taymans <wim@fluendo.com>
* gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event): * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):

View file

@ -142,15 +142,15 @@ gst_clock_flags_get_type (void)
if (etype == 0) { if (etype == 0) {
static const GFlagsValue values[] = { static const GFlagsValue values[] = {
{GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC, "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", {GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC, "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC",
"do-single-sync"}, "do-single-sync"},
{GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC, "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", {GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC, "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC",
"do-single-async"}, "do-single-async"},
{GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC, {GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC,
"GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "do-periodic-sync"}, "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "do-periodic-sync"},
{GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC, {GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC,
"GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "do-periodic-async"}, "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "do-periodic-async"},
{GST_CLOCK_FLAG_CAN_SET_RESOLUTION, "GST_CLOCK_FLAG_CAN_SET_RESOLUTION", {GST_CLOCK_FLAG_CAN_SET_RESOLUTION, "GST_CLOCK_FLAG_CAN_SET_RESOLUTION",
"set-resolution"}, "set-resolution"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstClockFlags", values); etype = g_flags_register_static ("GstClockFlags", values);
@ -189,7 +189,7 @@ gst_state_change_return_get_type (void)
{GST_STATE_CHANGE_SUCCESS, "GST_STATE_CHANGE_SUCCESS", "success"}, {GST_STATE_CHANGE_SUCCESS, "GST_STATE_CHANGE_SUCCESS", "success"},
{GST_STATE_CHANGE_ASYNC, "GST_STATE_CHANGE_ASYNC", "async"}, {GST_STATE_CHANGE_ASYNC, "GST_STATE_CHANGE_ASYNC", "async"},
{GST_STATE_CHANGE_NO_PREROLL, "GST_STATE_CHANGE_NO_PREROLL", {GST_STATE_CHANGE_NO_PREROLL, "GST_STATE_CHANGE_NO_PREROLL",
"no-preroll"}, "no-preroll"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstStateChangeReturn", values); etype = g_enum_register_static ("GstStateChangeReturn", values);
@ -203,22 +203,22 @@ gst_state_change_get_type (void)
static GType etype = 0; static GType etype = 0;
if (etype == 0) { if (etype == 0) {
static const GFlagsValue values[] = { static const GEnumValue values[] = {
{GST_STATE_CHANGE_NULL_TO_READY, "GST_STATE_CHANGE_NULL_TO_READY", {GST_STATE_CHANGE_NULL_TO_READY, "GST_STATE_CHANGE_NULL_TO_READY",
"null-to-ready"}, "null-to-ready"},
{GST_STATE_CHANGE_READY_TO_PAUSED, "GST_STATE_CHANGE_READY_TO_PAUSED", {GST_STATE_CHANGE_READY_TO_PAUSED, "GST_STATE_CHANGE_READY_TO_PAUSED",
"ready-to-paused"}, "ready-to-paused"},
{GST_STATE_CHANGE_PAUSED_TO_PLAYING, "GST_STATE_CHANGE_PAUSED_TO_PLAYING", {GST_STATE_CHANGE_PAUSED_TO_PLAYING, "GST_STATE_CHANGE_PAUSED_TO_PLAYING",
"paused-to-playing"}, "paused-to-playing"},
{GST_STATE_CHANGE_PLAYING_TO_PAUSED, "GST_STATE_CHANGE_PLAYING_TO_PAUSED", {GST_STATE_CHANGE_PLAYING_TO_PAUSED, "GST_STATE_CHANGE_PLAYING_TO_PAUSED",
"playing-to-paused"}, "playing-to-paused"},
{GST_STATE_CHANGE_PAUSED_TO_READY, "GST_STATE_CHANGE_PAUSED_TO_READY", {GST_STATE_CHANGE_PAUSED_TO_READY, "GST_STATE_CHANGE_PAUSED_TO_READY",
"paused-to-ready"}, "paused-to-ready"},
{GST_STATE_CHANGE_READY_TO_NULL, "GST_STATE_CHANGE_READY_TO_NULL", {GST_STATE_CHANGE_READY_TO_NULL, "GST_STATE_CHANGE_READY_TO_NULL",
"ready-to-null"}, "ready-to-null"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_flags_register_static ("GstStateChange", values); etype = g_enum_register_static ("GstStateChange", values);
} }
return etype; return etype;
} }
@ -252,9 +252,9 @@ gst_core_error_get_type (void)
{GST_CORE_ERROR_FAILED, "GST_CORE_ERROR_FAILED", "failed"}, {GST_CORE_ERROR_FAILED, "GST_CORE_ERROR_FAILED", "failed"},
{GST_CORE_ERROR_TOO_LAZY, "GST_CORE_ERROR_TOO_LAZY", "too-lazy"}, {GST_CORE_ERROR_TOO_LAZY, "GST_CORE_ERROR_TOO_LAZY", "too-lazy"},
{GST_CORE_ERROR_NOT_IMPLEMENTED, "GST_CORE_ERROR_NOT_IMPLEMENTED", {GST_CORE_ERROR_NOT_IMPLEMENTED, "GST_CORE_ERROR_NOT_IMPLEMENTED",
"not-implemented"}, "not-implemented"},
{GST_CORE_ERROR_STATE_CHANGE, "GST_CORE_ERROR_STATE_CHANGE", {GST_CORE_ERROR_STATE_CHANGE, "GST_CORE_ERROR_STATE_CHANGE",
"state-change"}, "state-change"},
{GST_CORE_ERROR_PAD, "GST_CORE_ERROR_PAD", "pad"}, {GST_CORE_ERROR_PAD, "GST_CORE_ERROR_PAD", "pad"},
{GST_CORE_ERROR_THREAD, "GST_CORE_ERROR_THREAD", "thread"}, {GST_CORE_ERROR_THREAD, "GST_CORE_ERROR_THREAD", "thread"},
{GST_CORE_ERROR_NEGOTIATION, "GST_CORE_ERROR_NEGOTIATION", "negotiation"}, {GST_CORE_ERROR_NEGOTIATION, "GST_CORE_ERROR_NEGOTIATION", "negotiation"},
@ -284,7 +284,7 @@ gst_library_error_get_type (void)
{GST_LIBRARY_ERROR_SETTINGS, "GST_LIBRARY_ERROR_SETTINGS", "settings"}, {GST_LIBRARY_ERROR_SETTINGS, "GST_LIBRARY_ERROR_SETTINGS", "settings"},
{GST_LIBRARY_ERROR_ENCODE, "GST_LIBRARY_ERROR_ENCODE", "encode"}, {GST_LIBRARY_ERROR_ENCODE, "GST_LIBRARY_ERROR_ENCODE", "encode"},
{GST_LIBRARY_ERROR_NUM_ERRORS, "GST_LIBRARY_ERROR_NUM_ERRORS", {GST_LIBRARY_ERROR_NUM_ERRORS, "GST_LIBRARY_ERROR_NUM_ERRORS",
"num-errors"}, "num-errors"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstLibraryError", values); etype = g_enum_register_static ("GstLibraryError", values);
@ -302,14 +302,14 @@ gst_resource_error_get_type (void)
{GST_RESOURCE_ERROR_FAILED, "GST_RESOURCE_ERROR_FAILED", "failed"}, {GST_RESOURCE_ERROR_FAILED, "GST_RESOURCE_ERROR_FAILED", "failed"},
{GST_RESOURCE_ERROR_TOO_LAZY, "GST_RESOURCE_ERROR_TOO_LAZY", "too-lazy"}, {GST_RESOURCE_ERROR_TOO_LAZY, "GST_RESOURCE_ERROR_TOO_LAZY", "too-lazy"},
{GST_RESOURCE_ERROR_NOT_FOUND, "GST_RESOURCE_ERROR_NOT_FOUND", {GST_RESOURCE_ERROR_NOT_FOUND, "GST_RESOURCE_ERROR_NOT_FOUND",
"not-found"}, "not-found"},
{GST_RESOURCE_ERROR_BUSY, "GST_RESOURCE_ERROR_BUSY", "busy"}, {GST_RESOURCE_ERROR_BUSY, "GST_RESOURCE_ERROR_BUSY", "busy"},
{GST_RESOURCE_ERROR_OPEN_READ, "GST_RESOURCE_ERROR_OPEN_READ", {GST_RESOURCE_ERROR_OPEN_READ, "GST_RESOURCE_ERROR_OPEN_READ",
"open-read"}, "open-read"},
{GST_RESOURCE_ERROR_OPEN_WRITE, "GST_RESOURCE_ERROR_OPEN_WRITE", {GST_RESOURCE_ERROR_OPEN_WRITE, "GST_RESOURCE_ERROR_OPEN_WRITE",
"open-write"}, "open-write"},
{GST_RESOURCE_ERROR_OPEN_READ_WRITE, "GST_RESOURCE_ERROR_OPEN_READ_WRITE", {GST_RESOURCE_ERROR_OPEN_READ_WRITE, "GST_RESOURCE_ERROR_OPEN_READ_WRITE",
"open-read-write"}, "open-read-write"},
{GST_RESOURCE_ERROR_CLOSE, "GST_RESOURCE_ERROR_CLOSE", "close"}, {GST_RESOURCE_ERROR_CLOSE, "GST_RESOURCE_ERROR_CLOSE", "close"},
{GST_RESOURCE_ERROR_READ, "GST_RESOURCE_ERROR_READ", "read"}, {GST_RESOURCE_ERROR_READ, "GST_RESOURCE_ERROR_READ", "read"},
{GST_RESOURCE_ERROR_WRITE, "GST_RESOURCE_ERROR_WRITE", "write"}, {GST_RESOURCE_ERROR_WRITE, "GST_RESOURCE_ERROR_WRITE", "write"},
@ -317,7 +317,7 @@ gst_resource_error_get_type (void)
{GST_RESOURCE_ERROR_SYNC, "GST_RESOURCE_ERROR_SYNC", "sync"}, {GST_RESOURCE_ERROR_SYNC, "GST_RESOURCE_ERROR_SYNC", "sync"},
{GST_RESOURCE_ERROR_SETTINGS, "GST_RESOURCE_ERROR_SETTINGS", "settings"}, {GST_RESOURCE_ERROR_SETTINGS, "GST_RESOURCE_ERROR_SETTINGS", "settings"},
{GST_RESOURCE_ERROR_NUM_ERRORS, "GST_RESOURCE_ERROR_NUM_ERRORS", {GST_RESOURCE_ERROR_NUM_ERRORS, "GST_RESOURCE_ERROR_NUM_ERRORS",
"num-errors"}, "num-errors"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstResourceError", values); etype = g_enum_register_static ("GstResourceError", values);
@ -335,13 +335,13 @@ gst_stream_error_get_type (void)
{GST_STREAM_ERROR_FAILED, "GST_STREAM_ERROR_FAILED", "failed"}, {GST_STREAM_ERROR_FAILED, "GST_STREAM_ERROR_FAILED", "failed"},
{GST_STREAM_ERROR_TOO_LAZY, "GST_STREAM_ERROR_TOO_LAZY", "too-lazy"}, {GST_STREAM_ERROR_TOO_LAZY, "GST_STREAM_ERROR_TOO_LAZY", "too-lazy"},
{GST_STREAM_ERROR_NOT_IMPLEMENTED, "GST_STREAM_ERROR_NOT_IMPLEMENTED", {GST_STREAM_ERROR_NOT_IMPLEMENTED, "GST_STREAM_ERROR_NOT_IMPLEMENTED",
"not-implemented"}, "not-implemented"},
{GST_STREAM_ERROR_TYPE_NOT_FOUND, "GST_STREAM_ERROR_TYPE_NOT_FOUND", {GST_STREAM_ERROR_TYPE_NOT_FOUND, "GST_STREAM_ERROR_TYPE_NOT_FOUND",
"type-not-found"}, "type-not-found"},
{GST_STREAM_ERROR_WRONG_TYPE, "GST_STREAM_ERROR_WRONG_TYPE", {GST_STREAM_ERROR_WRONG_TYPE, "GST_STREAM_ERROR_WRONG_TYPE",
"wrong-type"}, "wrong-type"},
{GST_STREAM_ERROR_CODEC_NOT_FOUND, "GST_STREAM_ERROR_CODEC_NOT_FOUND", {GST_STREAM_ERROR_CODEC_NOT_FOUND, "GST_STREAM_ERROR_CODEC_NOT_FOUND",
"codec-not-found"}, "codec-not-found"},
{GST_STREAM_ERROR_DECODE, "GST_STREAM_ERROR_DECODE", "decode"}, {GST_STREAM_ERROR_DECODE, "GST_STREAM_ERROR_DECODE", "decode"},
{GST_STREAM_ERROR_ENCODE, "GST_STREAM_ERROR_ENCODE", "encode"}, {GST_STREAM_ERROR_ENCODE, "GST_STREAM_ERROR_ENCODE", "encode"},
{GST_STREAM_ERROR_DEMUX, "GST_STREAM_ERROR_DEMUX", "demux"}, {GST_STREAM_ERROR_DEMUX, "GST_STREAM_ERROR_DEMUX", "demux"},
@ -349,7 +349,7 @@ gst_stream_error_get_type (void)
{GST_STREAM_ERROR_FORMAT, "GST_STREAM_ERROR_FORMAT", "format"}, {GST_STREAM_ERROR_FORMAT, "GST_STREAM_ERROR_FORMAT", "format"},
{GST_STREAM_ERROR_STOPPED, "GST_STREAM_ERROR_STOPPED", "stopped"}, {GST_STREAM_ERROR_STOPPED, "GST_STREAM_ERROR_STOPPED", "stopped"},
{GST_STREAM_ERROR_NUM_ERRORS, "GST_STREAM_ERROR_NUM_ERRORS", {GST_STREAM_ERROR_NUM_ERRORS, "GST_STREAM_ERROR_NUM_ERRORS",
"num-errors"}, "num-errors"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstStreamError", values); etype = g_enum_register_static ("GstStreamError", values);
@ -380,7 +380,7 @@ gst_event_type_get_type (void)
{GST_EVENT_CUSTOM_DS_OOB, "GST_EVENT_CUSTOM_DS_OOB", "custom-ds-oob"}, {GST_EVENT_CUSTOM_DS_OOB, "GST_EVENT_CUSTOM_DS_OOB", "custom-ds-oob"},
{GST_EVENT_CUSTOM_BOTH, "GST_EVENT_CUSTOM_BOTH", "custom-both"}, {GST_EVENT_CUSTOM_BOTH, "GST_EVENT_CUSTOM_BOTH", "custom-both"},
{GST_EVENT_CUSTOM_BOTH_OOB, "GST_EVENT_CUSTOM_BOTH_OOB", {GST_EVENT_CUSTOM_BOTH_OOB, "GST_EVENT_CUSTOM_BOTH_OOB",
"custom-both-oob"}, "custom-both-oob"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstEventType", values); etype = g_enum_register_static ("GstEventType", values);
@ -473,7 +473,7 @@ gst_index_entry_type_get_type (void)
static const GEnumValue values[] = { static const GEnumValue values[] = {
{GST_INDEX_ENTRY_ID, "GST_INDEX_ENTRY_ID", "id"}, {GST_INDEX_ENTRY_ID, "GST_INDEX_ENTRY_ID", "id"},
{GST_INDEX_ENTRY_ASSOCIATION, "GST_INDEX_ENTRY_ASSOCIATION", {GST_INDEX_ENTRY_ASSOCIATION, "GST_INDEX_ENTRY_ASSOCIATION",
"association"}, "association"},
{GST_INDEX_ENTRY_OBJECT, "GST_INDEX_ENTRY_OBJECT", "object"}, {GST_INDEX_ENTRY_OBJECT, "GST_INDEX_ENTRY_OBJECT", "object"},
{GST_INDEX_ENTRY_FORMAT, "GST_INDEX_ENTRY_FORMAT", "format"}, {GST_INDEX_ENTRY_FORMAT, "GST_INDEX_ENTRY_FORMAT", "format"},
{0, NULL, NULL} {0, NULL, NULL}
@ -509,9 +509,9 @@ gst_assoc_flags_get_type (void)
static const GFlagsValue values[] = { static const GFlagsValue values[] = {
{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", {GST_ASSOCIATION_FLAG_DELTA_UNIT, "GST_ASSOCIATION_FLAG_DELTA_UNIT",
"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}
}; };
@ -663,7 +663,7 @@ gst_message_type_get_type (void)
{GST_MESSAGE_STEP_DONE, "GST_MESSAGE_STEP_DONE", "step-done"}, {GST_MESSAGE_STEP_DONE, "GST_MESSAGE_STEP_DONE", "step-done"},
{GST_MESSAGE_NEW_CLOCK, "GST_MESSAGE_NEW_CLOCK", "new-clock"}, {GST_MESSAGE_NEW_CLOCK, "GST_MESSAGE_NEW_CLOCK", "new-clock"},
{GST_MESSAGE_STRUCTURE_CHANGE, "GST_MESSAGE_STRUCTURE_CHANGE", {GST_MESSAGE_STRUCTURE_CHANGE, "GST_MESSAGE_STRUCTURE_CHANGE",
"structure-change"}, "structure-change"},
{GST_MESSAGE_STREAM_STATUS, "GST_MESSAGE_STREAM_STATUS", "stream-status"}, {GST_MESSAGE_STREAM_STATUS, "GST_MESSAGE_STREAM_STATUS", "stream-status"},
{GST_MESSAGE_APPLICATION, "GST_MESSAGE_APPLICATION", "application"}, {GST_MESSAGE_APPLICATION, "GST_MESSAGE_APPLICATION", "application"},
{GST_MESSAGE_SEGMENT_START, "GST_MESSAGE_SEGMENT_START", "segment-start"}, {GST_MESSAGE_SEGMENT_START, "GST_MESSAGE_SEGMENT_START", "segment-start"},
@ -685,7 +685,7 @@ gst_mini_object_flags_get_type (void)
if (etype == 0) { if (etype == 0) {
static const GFlagsValue values[] = { static const GFlagsValue values[] = {
{GST_MINI_OBJECT_FLAG_READONLY, "GST_MINI_OBJECT_FLAG_READONLY", {GST_MINI_OBJECT_FLAG_READONLY, "GST_MINI_OBJECT_FLAG_READONLY",
"readonly"}, "readonly"},
{GST_MINI_OBJECT_FLAG_STATIC, "GST_MINI_OBJECT_FLAG_STATIC", "static"}, {GST_MINI_OBJECT_FLAG_STATIC, "GST_MINI_OBJECT_FLAG_STATIC", "static"},
{GST_MINI_OBJECT_FLAG_LAST, "GST_MINI_OBJECT_FLAG_LAST", "last"}, {GST_MINI_OBJECT_FLAG_LAST, "GST_MINI_OBJECT_FLAG_LAST", "last"},
{0, NULL, NULL} {0, NULL, NULL}
@ -705,10 +705,10 @@ gst_pad_link_return_get_type (void)
static const GEnumValue values[] = { static const GEnumValue values[] = {
{GST_PAD_LINK_OK, "GST_PAD_LINK_OK", "ok"}, {GST_PAD_LINK_OK, "GST_PAD_LINK_OK", "ok"},
{GST_PAD_LINK_WRONG_HIERARCHY, "GST_PAD_LINK_WRONG_HIERARCHY", {GST_PAD_LINK_WRONG_HIERARCHY, "GST_PAD_LINK_WRONG_HIERARCHY",
"wrong-hierarchy"}, "wrong-hierarchy"},
{GST_PAD_LINK_WAS_LINKED, "GST_PAD_LINK_WAS_LINKED", "was-linked"}, {GST_PAD_LINK_WAS_LINKED, "GST_PAD_LINK_WAS_LINKED", "was-linked"},
{GST_PAD_LINK_WRONG_DIRECTION, "GST_PAD_LINK_WRONG_DIRECTION", {GST_PAD_LINK_WRONG_DIRECTION, "GST_PAD_LINK_WRONG_DIRECTION",
"wrong-direction"}, "wrong-direction"},
{GST_PAD_LINK_NOFORMAT, "GST_PAD_LINK_NOFORMAT", "noformat"}, {GST_PAD_LINK_NOFORMAT, "GST_PAD_LINK_NOFORMAT", "noformat"},
{GST_PAD_LINK_NOSCHED, "GST_PAD_LINK_NOSCHED", "nosched"}, {GST_PAD_LINK_NOSCHED, "GST_PAD_LINK_NOSCHED", "nosched"},
{GST_PAD_LINK_REFUSED, "GST_PAD_LINK_REFUSED", "refused"}, {GST_PAD_LINK_REFUSED, "GST_PAD_LINK_REFUSED", "refused"},
@ -836,7 +836,7 @@ gst_pipeline_flags_get_type (void)
if (etype == 0) { if (etype == 0) {
static const GEnumValue values[] = { static const GEnumValue values[] = {
{GST_PIPELINE_FLAG_FIXED_CLOCK, "GST_PIPELINE_FLAG_FIXED_CLOCK", {GST_PIPELINE_FLAG_FIXED_CLOCK, "GST_PIPELINE_FLAG_FIXED_CLOCK",
"fixed-clock"}, "fixed-clock"},
{GST_PIPELINE_FLAG_LAST, "GST_PIPELINE_FLAG_LAST", "last"}, {GST_PIPELINE_FLAG_LAST, "GST_PIPELINE_FLAG_LAST", "last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
@ -855,9 +855,9 @@ gst_plugin_error_get_type (void)
static const GEnumValue values[] = { static const GEnumValue values[] = {
{GST_PLUGIN_ERROR_MODULE, "GST_PLUGIN_ERROR_MODULE", "module"}, {GST_PLUGIN_ERROR_MODULE, "GST_PLUGIN_ERROR_MODULE", "module"},
{GST_PLUGIN_ERROR_DEPENDENCIES, "GST_PLUGIN_ERROR_DEPENDENCIES", {GST_PLUGIN_ERROR_DEPENDENCIES, "GST_PLUGIN_ERROR_DEPENDENCIES",
"dependencies"}, "dependencies"},
{GST_PLUGIN_ERROR_NAME_MISMATCH, "GST_PLUGIN_ERROR_NAME_MISMATCH", {GST_PLUGIN_ERROR_NAME_MISMATCH, "GST_PLUGIN_ERROR_NAME_MISMATCH",
"name-mismatch"}, "name-mismatch"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
etype = g_enum_register_static ("GstPluginError", values); etype = g_enum_register_static ("GstPluginError", values);
@ -865,6 +865,21 @@ gst_plugin_error_get_type (void)
return etype; return etype;
} }
GType
gst_plugin_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_PLUGIN_FLAG_CACHED, "GST_PLUGIN_FLAG_CACHED", "cached"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstPluginFlags", values);
}
return etype;
}
/* enumerations from "gstpluginfeature.h" */ /* enumerations from "gstpluginfeature.h" */
GType GType
gst_rank_get_type (void) gst_rank_get_type (void)
@ -907,7 +922,7 @@ gst_query_type_get_type (void)
return etype; return etype;
} }
/* enumerations from "gsttag.h" */ /* enumerations from "gsttaglist.h" */
GType GType
gst_tag_merge_mode_get_type (void) gst_tag_merge_mode_get_type (void)
{ {
@ -996,7 +1011,7 @@ gst_type_find_probability_get_type (void)
{GST_TYPE_FIND_POSSIBLE, "GST_TYPE_FIND_POSSIBLE", "possible"}, {GST_TYPE_FIND_POSSIBLE, "GST_TYPE_FIND_POSSIBLE", "possible"},
{GST_TYPE_FIND_LIKELY, "GST_TYPE_FIND_LIKELY", "likely"}, {GST_TYPE_FIND_LIKELY, "GST_TYPE_FIND_LIKELY", "likely"},
{GST_TYPE_FIND_NEARLY_CERTAIN, "GST_TYPE_FIND_NEARLY_CERTAIN", {GST_TYPE_FIND_NEARLY_CERTAIN, "GST_TYPE_FIND_NEARLY_CERTAIN",
"nearly-certain"}, "nearly-certain"},
{GST_TYPE_FIND_MAXIMUM, "GST_TYPE_FIND_MAXIMUM", "maximum"}, {GST_TYPE_FIND_MAXIMUM, "GST_TYPE_FIND_MAXIMUM", "maximum"},
{0, NULL, NULL} {0, NULL, NULL}
}; };
@ -1023,48 +1038,6 @@ gst_uri_type_get_type (void)
return etype; return etype;
} }
/* enumerations from "gstregistry.h" */
GType
gst_registry_return_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_REGISTRY_OK, "GST_REGISTRY_OK", "ok"},
{GST_REGISTRY_LOAD_ERROR, "GST_REGISTRY_LOAD_ERROR", "load-error"},
{GST_REGISTRY_SAVE_ERROR, "GST_REGISTRY_SAVE_ERROR", "save-error"},
{GST_REGISTRY_PLUGIN_LOAD_ERROR, "GST_REGISTRY_PLUGIN_LOAD_ERROR",
"plugin-load-error"},
{GST_REGISTRY_PLUGIN_SIGNATURE_ERROR,
"GST_REGISTRY_PLUGIN_SIGNATURE_ERROR", "plugin-signature-error"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstRegistryReturn", values);
}
return etype;
}
GType
gst_registry_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_REGISTRY_READABLE, "GST_REGISTRY_READABLE", "readable"},
{GST_REGISTRY_WRITABLE, "GST_REGISTRY_WRITABLE", "writable"},
{GST_REGISTRY_EXISTS, "GST_REGISTRY_EXISTS", "exists"},
{GST_REGISTRY_REMOTE, "GST_REGISTRY_REMOTE", "remote"},
{GST_REGISTRY_DELAYED_LOADING, "GST_REGISTRY_DELAYED_LOADING",
"delayed-loading"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstRegistryFlags", values);
}
return etype;
}
/* enumerations from "gstparse.h" */ /* enumerations from "gstparse.h" */
GType GType
gst_parse_error_get_type (void) gst_parse_error_get_type (void)
@ -1075,12 +1048,12 @@ gst_parse_error_get_type (void)
static const GEnumValue values[] = { static const GEnumValue values[] = {
{GST_PARSE_ERROR_SYNTAX, "GST_PARSE_ERROR_SYNTAX", "syntax"}, {GST_PARSE_ERROR_SYNTAX, "GST_PARSE_ERROR_SYNTAX", "syntax"},
{GST_PARSE_ERROR_NO_SUCH_ELEMENT, "GST_PARSE_ERROR_NO_SUCH_ELEMENT", {GST_PARSE_ERROR_NO_SUCH_ELEMENT, "GST_PARSE_ERROR_NO_SUCH_ELEMENT",
"no-such-element"}, "no-such-element"},
{GST_PARSE_ERROR_NO_SUCH_PROPERTY, "GST_PARSE_ERROR_NO_SUCH_PROPERTY", {GST_PARSE_ERROR_NO_SUCH_PROPERTY, "GST_PARSE_ERROR_NO_SUCH_PROPERTY",
"no-such-property"}, "no-such-property"},
{GST_PARSE_ERROR_LINK, "GST_PARSE_ERROR_LINK", "link"}, {GST_PARSE_ERROR_LINK, "GST_PARSE_ERROR_LINK", "link"},
{GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY, {GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY,
"GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property"}, "GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property"},
{GST_PARSE_ERROR_EMPTY_BIN, "GST_PARSE_ERROR_EMPTY_BIN", "empty-bin"}, {GST_PARSE_ERROR_EMPTY_BIN, "GST_PARSE_ERROR_EMPTY_BIN", "empty-bin"},
{GST_PARSE_ERROR_EMPTY, "GST_PARSE_ERROR_EMPTY", "empty"}, {GST_PARSE_ERROR_EMPTY, "GST_PARSE_ERROR_EMPTY", "empty"},
{0, NULL, NULL} {0, NULL, NULL}

View file

@ -7,20 +7,25 @@
#include <glib-object.h> #include <glib-object.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 "gstbus.h" */ /* enumerations from "gstbus.h" */
GType gst_bus_flags_get_type (void); GType gst_bus_flags_get_type (void);
#define GST_TYPE_BUS_FLAGS (gst_bus_flags_get_type()) #define GST_TYPE_BUS_FLAGS (gst_bus_flags_get_type())
GType gst_bus_sync_reply_get_type (void); GType gst_bus_sync_reply_get_type (void);
#define GST_TYPE_BUS_SYNC_REPLY (gst_bus_sync_reply_get_type()) #define GST_TYPE_BUS_SYNC_REPLY (gst_bus_sync_reply_get_type())
/* enumerations from "gstclock.h" */ /* enumerations from "gstclock.h" */
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())
@ -28,13 +33,17 @@ 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_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 "gstelement.h" */ /* enumerations from "gstelement.h" */
GType gst_element_state_get_type (void); GType gst_state_get_type (void);
#define GST_TYPE_ELEMENT_STATE (gst_element_state_get_type()) #define GST_TYPE_STATE (gst_state_get_type())
GType gst_element_state_return_get_type (void); GType gst_state_change_return_get_type (void);
#define GST_TYPE_ELEMENT_STATE_RETURN (gst_element_state_return_get_type()) #define GST_TYPE_STATE_CHANGE_RETURN (gst_state_change_return_get_type())
GType gst_state_change_get_type (void);
#define GST_TYPE_STATE_CHANGE (gst_state_change_get_type())
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())
@ -44,6 +53,7 @@ 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())
@ -51,9 +61,11 @@ 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_flags_get_type (void); GType gst_seek_flags_get_type (void);
#define GST_TYPE_SEEK_FLAGS (gst_seek_flags_get_type()) #define GST_TYPE_SEEK_FLAGS (gst_seek_flags_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())
@ -67,22 +79,27 @@ 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 "gstiterator.h" */ /* enumerations from "gstiterator.h" */
GType gst_iterator_result_get_type (void); GType gst_iterator_result_get_type (void);
#define GST_TYPE_ITERATOR_RESULT (gst_iterator_result_get_type()) #define GST_TYPE_ITERATOR_RESULT (gst_iterator_result_get_type())
GType gst_iterator_item_get_type (void); GType gst_iterator_item_get_type (void);
#define GST_TYPE_ITERATOR_ITEM (gst_iterator_item_get_type()) #define GST_TYPE_ITERATOR_ITEM (gst_iterator_item_get_type())
/* enumerations from "gstmessage.h" */ /* enumerations from "gstmessage.h" */
GType gst_message_type_get_type (void); GType gst_message_type_get_type (void);
#define GST_TYPE_MESSAGE_TYPE (gst_message_type_get_type()) #define GST_TYPE_MESSAGE_TYPE (gst_message_type_get_type())
/* enumerations from "gstminiobject.h" */ /* enumerations from "gstminiobject.h" */
GType gst_mini_object_flags_get_type (void); GType gst_mini_object_flags_get_type (void);
#define GST_TYPE_MINI_OBJECT_FLAGS (gst_mini_object_flags_get_type()) #define GST_TYPE_MINI_OBJECT_FLAGS (gst_mini_object_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())
@ -98,40 +115,47 @@ 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 "gstpipeline.h" */ /* enumerations from "gstpipeline.h" */
GType gst_pipeline_flags_get_type (void); GType gst_pipeline_flags_get_type (void);
#define GST_TYPE_PIPELINE_FLAGS (gst_pipeline_flags_get_type()) #define GST_TYPE_PIPELINE_FLAGS (gst_pipeline_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())
GType gst_plugin_flags_get_type (void);
#define GST_TYPE_PLUGIN_FLAGS (gst_plugin_flags_get_type())
/* enumerations from "gstpluginfeature.h" */ /* enumerations from "gstpluginfeature.h" */
GType gst_rank_get_type (void); GType gst_rank_get_type (void);
#define GST_TYPE_RANK (gst_rank_get_type()) #define GST_TYPE_RANK (gst_rank_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 "gsttag.h" */
/* enumerations from "gsttaglist.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 "gsttask.h" */ /* enumerations from "gsttask.h" */
GType gst_task_state_get_type (void); GType gst_task_state_get_type (void);
#define GST_TYPE_TASK_STATE (gst_task_state_get_type()) #define GST_TYPE_TASK_STATE (gst_task_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 "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" */
GType gst_registry_return_get_type (void);
#define GST_TYPE_REGISTRY_RETURN (gst_registry_return_get_type())
GType gst_registry_flags_get_type (void);
#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())