mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Add support for the new GST_TAG_COMPOSER (#459809).
Original commit message from CVS: * ext/taglib/gstapev2mux.cc: * ext/taglib/gstid3v2mux.cc: * gst/apetag/gstapedemux.c: Add support for the new GST_TAG_COMPOSER (#459809).
This commit is contained in:
parent
ab3379a6ac
commit
ac934ae36b
4 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/taglib/gstapev2mux.cc:
|
||||
* ext/taglib/gstid3v2mux.cc:
|
||||
* gst/apetag/gstapedemux.c:
|
||||
Add support for the new GST_TAG_COMPOSER (#459809).
|
||||
|
||||
2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/law/alaw-decode.c:
|
||||
|
|
|
@ -141,6 +141,16 @@ add_one_tag (const GstTagList * list, const gchar * tag, gpointer user_data)
|
|||
apev2tag->setArtist (String::String (artist, String::UTF8));
|
||||
}
|
||||
g_free (artist);
|
||||
} else if (strcmp (tag, GST_TAG_COMPOSER) == 0) {
|
||||
char *composer;
|
||||
|
||||
result = gst_tag_list_get_string_index (list, tag, 0, &composer);
|
||||
if (result != FALSE) {
|
||||
GST_DEBUG ("Setting composer to %s", composer);
|
||||
apev2tag->addValue (String::String ("COMPOSER", String::UTF8),
|
||||
String::String (composer, String::UTF8));
|
||||
}
|
||||
g_free (composer);
|
||||
} else if (strcmp (tag, GST_TAG_GENRE) == 0) {
|
||||
char *genre;
|
||||
|
||||
|
|
|
@ -529,6 +529,7 @@ static const struct
|
|||
GST_TAG_TITLE, add_text_tag, "TIT2"}, {
|
||||
GST_TAG_ALBUM, add_text_tag, "TALB"}, {
|
||||
GST_TAG_COPYRIGHT, add_text_tag, "TCOP"}, {
|
||||
GST_TAG_COMPOSER, add_text_tag, "TCOM"}, {
|
||||
GST_TAG_GENRE, add_text_tag, "TCON"}, {
|
||||
GST_TAG_COMMENT, add_comment_tag, ""}, {
|
||||
GST_TAG_EXTENDED_COMMENT, add_comment_tag, ""}, {
|
||||
|
|
|
@ -135,6 +135,7 @@ static const struct _GstApeDemuxTagTableEntry
|
|||
"title", GST_TAG_TITLE}, {
|
||||
"artist", GST_TAG_ARTIST}, {
|
||||
"album", GST_TAG_ALBUM}, {
|
||||
"composer", GST_TAG_COMPOSER}, {
|
||||
"comment", GST_TAG_COMMENT}, {
|
||||
"comments", GST_TAG_COMMENT}, {
|
||||
"copyright", GST_TAG_COPYRIGHT}, {
|
||||
|
|
Loading…
Reference in a new issue