ext/: Add codec-name metadata.
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 25 Oct 2004 16:10:58 +0000 (16:10 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 25 Oct 2004 16:10:58 +0000 (16:10 +0000)
Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
* ext/speex/gstspeexdec.c: (speex_dec_chain):
* ext/theora/theoradec.c: (theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Add codec-name metadata.

ChangeLog
ext/flac/gstflacdec.c
ext/speex/gstspeexdec.c

index 13a86ea..683be3b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
+
+       * ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
+       * ext/speex/gstspeexdec.c: (speex_dec_chain):
+       * ext/theora/theoradec.c: (theora_dec_chain):
+       * ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
+         Add codec-name metadata.
+
 2004-10-25  Takao Fujiwara  <Takao.Fujiwara@Sun.COM>
 
        Reviewd by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
index 4031331..c62c883 100644 (file)
@@ -275,7 +275,8 @@ gst_flacdec_update_metadata (FlacDec * flacdec,
       g_free (value);
     }
   }
-
+  gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
+      GST_TAG_AUDIO_CODEC, "FLAC", NULL);
 
   gst_element_found_tags (GST_ELEMENT (flacdec), list);
   if (GST_PAD_IS_USABLE (flacdec->srcpad)) {
index 7b4ef94..b172d55 100644 (file)
@@ -458,6 +458,8 @@ speex_dec_chain (GstPad * pad, GstData * data)
           GST_TAG_ENCODER, encoder, NULL);
       g_free (encoder);
     }
+    gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
+        GST_TAG_AUDIO_CODEC, "Speex", NULL);
     /*
        gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
        GST_TAG_ENCODER_VERSION, dec->vi.version, NULL);