ext/: Add codec-name metadata.

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.
This commit is contained in:
Ronald S. Bultje 2004-10-25 16:10:58 +00:00
parent 8e13000e3b
commit f2336fd22b
3 changed files with 12 additions and 1 deletions

View file

@ -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>

View 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)) {

View 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);