mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
ext/mad/gstid3tag.c: Add support for writing the GST_TAG_ALBUM_VOLUME_NUMBER
Original commit message from CVS: * ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach): Add support for writing the GST_TAG_ALBUM_VOLUME_NUMBER tag (#333683, patch by: Alex Lancaster).
This commit is contained in:
parent
0e71a39449
commit
267d257bb6
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach):
|
||||
Add support for writing the GST_TAG_ALBUM_VOLUME_NUMBER
|
||||
tag (#333683, patch by: Alex Lancaster).
|
||||
|
||||
2006-03-02 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_init),
|
||||
|
|
|
@ -792,6 +792,15 @@ tag_list_to_id3_tag_foreach (const GstTagList * list, const gchar * tag_name,
|
|||
gchar *str;
|
||||
guint u;
|
||||
|
||||
if (!gst_tag_list_get_uint_index (list, tag_name, values, &u))
|
||||
g_assert_not_reached ();
|
||||
str = g_strdup_printf ("%u", u);
|
||||
put = g_utf8_to_ucs4_fast (str, -1, NULL);
|
||||
g_free (str);
|
||||
} else if (strcmp (tag_name, GST_TAG_ALBUM_VOLUME_NUMBER) == 0) {
|
||||
gchar *str;
|
||||
guint u;
|
||||
|
||||
if (!gst_tag_list_get_uint_index (list, tag_name, values, &u))
|
||||
g_assert_not_reached ();
|
||||
str = g_strdup_printf ("%u", u);
|
||||
|
|
Loading…
Reference in a new issue