summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-08-26 14:38:23 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-08-26 14:38:23 +0000
commitda0213b6071ddf47559d92596eae2f2704c66191 (patch)
treedec8642c526709f50f8f5010888b236244dec29e
parent4e5323966e4b2cb0b90b355c8caeca9890b5c934 (diff)
downloadgstreamer-plugins-base-da0213b6071ddf47559d92596eae2f2704c66191.tar.gz
fixes #116416 uppercase vorbis tags to be compatible with other software
Original commit message from CVS: fixes #116416 uppercase vorbis tags to be compatible with other software
-rw-r--r--ext/vorbis/vorbisenc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c
index 7ed7178ca..d2c6bbc44 100644
--- a/ext/vorbis/vorbisenc.c
+++ b/ext/vorbis/vorbisenc.c
@@ -463,13 +463,16 @@ gst_vorbisenc_add_metadata (VorbisEnc *vorbisenc, GstCaps *caps)
if (gst_props_entry_get_type (prop) == GST_PROPS_STRING_TYPE) {
const gchar *name = gst_props_entry_get_name (prop);
const gchar *value;
+ char *upper_name;
gst_props_entry_get_string (prop, &value);
if (!value || strlen (value) == 0)
continue;
- vorbis_comment_add_tag (&vorbisenc->vc, g_strdup (name), g_strdup (value));
+ upper_name = g_ascii_strup (name, -1);
+ vorbis_comment_add_tag (&vorbisenc->vc, g_strdup (upper_name), g_strdup (value));
+ g_free (upper_name);
}
}
}