From: <tp...@ke...> - 2006-03-07 11:20:11
|
CVS Root: /cvs/gstreamer Module: gst-plugins-ugly Changes by: tpm Date: Tue Mar 07 2006 11:20:07 UTC Log message: * 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). Modified files: . : ChangeLog ext/mad : gstid3tag.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-ugly/ChangeLog.diff?r1=1.1983&r2=1.1984 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-ugly/ext/mad/gstid3tag.c.diff?r1=1.78&r2=1.79 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-ugly/ChangeLog,v retrieving revision 1.1983 retrieving revision 1.1984 diff -u -d -r1.1983 -r1.1984 --- ChangeLog 2 Mar 2006 20:03:00 -0000 1.1983 +++ ChangeLog 7 Mar 2006 11:19:54 -0000 1.1984 @@ -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 <wi...@fl...> * ext/amrnb/amrnbdec.c: (gst_amrnbdec_init), Index: gstid3tag.c RCS file: /cvs/gstreamer/gst-plugins-ugly/ext/mad/gstid3tag.c,v retrieving revision 1.78 retrieving revision 1.79 diff -u -d -r1.78 -r1.79 --- gstid3tag.c 3 Feb 2006 18:24:54 -0000 1.78 +++ gstid3tag.c 7 Mar 2006 11:19:55 -0000 1.79 @@ -797,6 +797,15 @@ 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); + put = g_utf8_to_ucs4_fast (str, -1, NULL); + g_free (str); } else if (strcmp (tag_name, GST_TAG_COMMENT) == 0) { gchar *str; id3_ucs4_t ucs4_empty[] = { 0 }; |