tests/check/libs/tag.c: GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 26 Oct 2007 18:57:33 +0000 (18:57 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 26 Oct 2007 18:57:33 +0000 (18:57 +0000)
Original commit message from CVS:
* tests/check/libs/tag.c: (test_musicbrainz_tag_registration):
GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile with
-DGST_DISABLE_DEPRECATED, so use new GST_TAG_ARTIST_SORTNAME
instead.

ChangeLog
tests/check/libs/tag.c

index 41ed974..40e0591 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * tests/check/libs/tag.c: (test_musicbrainz_tag_registration):
+         GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile with
+         -DGST_DISABLE_DEPRECATED, so use new GST_TAG_ARTIST_SORTNAME
+         instead.
+
 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
 
        * gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
index 0f71825..122fae4 100644 (file)
@@ -191,6 +191,7 @@ GST_START_TEST (test_muscibrainz_tag_registration)
   gst_vorbis_tag_add (list, "MUSICBRAINZ_ALBUMID", "345678");
   gst_vorbis_tag_add (list, "MUSICBRAINZ_ALBUMARTISTID", "4567890");
   gst_vorbis_tag_add (list, "MUSICBRAINZ_TRMID", "5678901");
+  /* MUSICBRAINZ_SORTNAME = GST_TAG_ARTIST_SORTNAME now */
   gst_vorbis_tag_add (list, "MUSICBRAINZ_SORTNAME", "Five, 678901");
 
   ASSERT_TAG_LIST_HAS_STRING (list, GST_TAG_MUSICBRAINZ_TRACKID, "123456");
@@ -199,8 +200,7 @@ GST_START_TEST (test_muscibrainz_tag_registration)
   ASSERT_TAG_LIST_HAS_STRING (list, GST_TAG_MUSICBRAINZ_ALBUMARTISTID,
       "4567890");
   ASSERT_TAG_LIST_HAS_STRING (list, GST_TAG_MUSICBRAINZ_TRMID, "5678901");
-  ASSERT_TAG_LIST_HAS_STRING (list, GST_TAG_MUSICBRAINZ_SORTNAME,
-      "Five, 678901");
+  ASSERT_TAG_LIST_HAS_STRING (list, GST_TAG_ARTIST_SORTNAME, "Five, 678901");
 
   gst_tag_list_free (list);
 }