Commit 8b491df8 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

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

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...).
parent cd9bb9a6
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> 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): * gst-libs/gst/tag/gstid3tag.c: (gst_tag_list_add_id3_image):
...@@ -8,6 +15,7 @@ ...@@ -8,6 +15,7 @@
Add two utility functions to avoid code duplication (#512333): Add two utility functions to avoid code duplication (#512333):
API: add gst_tag_image_data_to_image_buffer() API: add gst_tag_image_data_to_image_buffer()
API: add gst_tag_list_add_id3_image() 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> 2008-06-03 Sebastian Dröge <slomo@circular-chaos.org>
   
...@@ -154,6 +154,7 @@ G_BEGIN_DECLS ...@@ -154,6 +154,7 @@ G_BEGIN_DECLS
* *
* Since: 0.10.9 * Since: 0.10.9
*/ */
/* Note: keep in sync with register_tag_image_type_enum() */
typedef enum { typedef enum {
GST_TAG_IMAGE_TYPE_NONE = -1, GST_TAG_IMAGE_TYPE_NONE = -1,
GST_TAG_IMAGE_TYPE_UNDEFINED = 0, GST_TAG_IMAGE_TYPE_UNDEFINED = 0,
......
...@@ -107,6 +107,7 @@ static void ...@@ -107,6 +107,7 @@ static void
register_tag_image_type_enum (GType * id) register_tag_image_type_enum (GType * id)
{ {
static const GEnumValue image_types[] = { 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_UNDEFINED, "GST_TAG_IMAGE_TYPE_UNDEFINED", "undefined"},
{GST_TAG_IMAGE_TYPE_FRONT_COVER, "GST_TAG_IMAGE_TYPE_FRONT_COVER", {GST_TAG_IMAGE_TYPE_FRONT_COVER, "GST_TAG_IMAGE_TYPE_FRONT_COVER",
"front-cover"}, "front-cover"},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment