summaryrefslogtreecommitdiffstats
path: root/ext/taglib/gstapev2mux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/taglib/gstapev2mux.cc')
-rw-r--r--ext/taglib/gstapev2mux.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/taglib/gstapev2mux.cc b/ext/taglib/gstapev2mux.cc
index 3b848618..b7a61bff 100644
--- a/ext/taglib/gstapev2mux.cc
+++ b/ext/taglib/gstapev2mux.cc
@@ -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;