mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
tests/check/libs/tag.c: GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile with
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.
This commit is contained in:
parent
70bf4bd0c8
commit
af68c73c6c
2 changed files with 9 additions and 2 deletions
|
@ -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),
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue