Warning: Comment 0 in stream 1 is invalidly formatted, does not contain '='
authorBenjamin Otte <otte@gnome.org>
Sat, 29 Mar 2003 18:37:15 +0000 (18:37 +0000)
committerBenjamin Otte <otte@gnome.org>
Sat, 29 Mar 2003 18:37:15 +0000 (18:37 +0000)
Original commit message from CVS:
Warning: Comment 0 in stream 1 is invalidly formatted, does not contain '='

ext/vorbis/vorbisenc.c

index 5ff9ccc3a75ebf0468e0f7396d8b7a21f26aff72..88b37ac7151a9ff262e008f062691dcfccc54cbe 100644 (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));
     }
   }
 }