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

@ -203,7 +203,7 @@ 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",
@ -218,7 +218,7 @@ gst_state_change_get_type (void)
"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;
} }
@ -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)
{ {
@ -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)

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())