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 '='
This commit is contained in:
Benjamin Otte 2003-03-29 18:37:15 +00:00
parent 2b473441ca
commit 24380eed1e

View file

@ -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));
}
}
}