gst-libs/gst/tag/gstvorbistag.c: Make sure we called gst_tag_register_musicbrainz_tags() before possibly mapping a vo...
Original commit message from CVS: * gst-libs/gst/tag/gstvorbistag.c: (gst_tag_from_vorbis_tag), (gst_tag_to_vorbis_tag): Make sure we called gst_tag_register_musicbrainz_tags() before possibly mapping a vorbiscomment string from/to a musicbrainz tag.
This commit is contained in:
parent
0475a8b14c
commit
148b83dd20
@ -1,3 +1,11 @@
|
|||||||
|
2006-02-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst-libs/gst/tag/gstvorbistag.c: (gst_tag_from_vorbis_tag),
|
||||||
|
(gst_tag_to_vorbis_tag):
|
||||||
|
Make sure we called gst_tag_register_musicbrainz_tags()
|
||||||
|
before possibly mapping a vorbiscomment string from/to a
|
||||||
|
musicbrainz tag.
|
||||||
|
|
||||||
2006-02-07 Tim-Philipp Müller <tim at centricular dot net>
|
2006-02-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
|
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
|
||||||
|
@ -90,6 +90,8 @@ gst_tag_from_vorbis_tag (const gchar * vorbis_tag)
|
|||||||
|
|
||||||
g_return_val_if_fail (vorbis_tag != NULL, NULL);
|
g_return_val_if_fail (vorbis_tag != NULL, NULL);
|
||||||
|
|
||||||
|
gst_tag_register_musicbrainz_tags ();
|
||||||
|
|
||||||
real_vorbis_tag = g_ascii_strup (vorbis_tag, -1);
|
real_vorbis_tag = g_ascii_strup (vorbis_tag, -1);
|
||||||
while (tag_matches[i].gstreamer_tag != NULL) {
|
while (tag_matches[i].gstreamer_tag != NULL) {
|
||||||
if (strcmp (real_vorbis_tag, tag_matches[i].original_tag) == 0) {
|
if (strcmp (real_vorbis_tag, tag_matches[i].original_tag) == 0) {
|
||||||
@ -116,6 +118,8 @@ gst_tag_to_vorbis_tag (const gchar * gst_tag)
|
|||||||
|
|
||||||
g_return_val_if_fail (gst_tag != NULL, NULL);
|
g_return_val_if_fail (gst_tag != NULL, NULL);
|
||||||
|
|
||||||
|
gst_tag_register_musicbrainz_tags ();
|
||||||
|
|
||||||
while (tag_matches[i].gstreamer_tag != NULL) {
|
while (tag_matches[i].gstreamer_tag != NULL) {
|
||||||
if (strcmp (gst_tag, tag_matches[i].gstreamer_tag) == 0) {
|
if (strcmp (gst_tag, tag_matches[i].gstreamer_tag) == 0) {
|
||||||
return tag_matches[i].original_tag;
|
return tag_matches[i].original_tag;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user