From 24380eed1ecfb987e3d052d6e0c414ad850f3ce7 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 29 Mar 2003 18:37:15 +0000 Subject: [PATCH] Warning: Comment 0 in stream 1 is invalidly formatted, does not contain '=' Original commit message from CVS: Warning: Comment 0 in stream 1 is invalidly formatted, does not contain '=' --- ext/vorbis/vorbisenc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c index 5ff9ccc3a7..88b37ac715 100644 --- a/ext/vorbis/vorbisenc.c +++ b/ext/vorbis/vorbisenc.c @@ -469,12 +469,7 @@ gst_vorbisenc_add_metadata (VorbisEnc *vorbisenc, GstCaps *caps) if (!value || strlen (value) == 0) continue; - if (!strcmp (name, "comment")) { - vorbis_comment_add (&vorbisenc->vc, g_strdup (value)); - } - else { - vorbis_comment_add_tag (&vorbisenc->vc, g_strdup (name), g_strdup (value)); - } + vorbis_comment_add_tag (&vorbisenc->vc, g_strdup (name), g_strdup (value)); } } }