gst-libs/gst/tag/: Don't forget to add new enum value here too (should probably use glib-mkenums here...).

Original commit message from CVS:
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c: (register_tag_image_type_enum):
Don't forget to add new enum value here too (should probably use
glib-mkenums here...).
This commit is contained in:
Tim-Philipp Müller 2008-06-03 19:44:48 +00:00
parent cd9bb9a674
commit 8b491df810
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2008-06-03 Tim-Philipp Müller <tim.muller at collabora co uk>
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c: (register_tag_image_type_enum):
Don't forget to add new enum value here too (should probably use
glib-mkenums here...).
2008-06-03 Tim-Philipp Müller <tim.muller at collabora co uk>
* gst-libs/gst/tag/gstid3tag.c: (gst_tag_list_add_id3_image):
@ -8,6 +15,7 @@
Add two utility functions to avoid code duplication (#512333):
API: add gst_tag_image_data_to_image_buffer()
API: add gst_tag_list_add_id3_image()
API: add GST_TAG_IMAGE_TYPE_NONE enum value
2008-06-03 Sebastian Dröge <slomo@circular-chaos.org>

View file

@ -154,6 +154,7 @@ G_BEGIN_DECLS
*
* Since: 0.10.9
*/
/* Note: keep in sync with register_tag_image_type_enum() */
typedef enum {
GST_TAG_IMAGE_TYPE_NONE = -1,
GST_TAG_IMAGE_TYPE_UNDEFINED = 0,

View file

@ -107,6 +107,7 @@ static void
register_tag_image_type_enum (GType * id)
{
static const GEnumValue image_types[] = {
{GST_TAG_IMAGE_TYPE_NONE, "GST_TAG_IMAGE_TYPE_NONE", "none"},
{GST_TAG_IMAGE_TYPE_UNDEFINED, "GST_TAG_IMAGE_TYPE_UNDEFINED", "undefined"},
{GST_TAG_IMAGE_TYPE_FRONT_COVER, "GST_TAG_IMAGE_TYPE_FRONT_COVER",
"front-cover"},