summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-05-26 12:57:24 +0200
committerMax Kellermann <max@musicpd.org>2021-05-26 13:03:41 +0200
commit8f3341cefb496cd82c71b370884434f49efd93b7 (patch)
tree25b91b0d87ee5a5293ae042c307c17ac203d171d
parent4ec4bab3a96963a5c3c2e75dc23d325b972ab508 (diff)
decoder/ffmpeg: add comment
-rw-r--r--src/decoder/plugins/FfmpegMetaData.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/decoder/plugins/FfmpegMetaData.cxx b/src/decoder/plugins/FfmpegMetaData.cxx
index 75c06c282..316c85481 100644
--- a/src/decoder/plugins/FfmpegMetaData.cxx
+++ b/src/decoder/plugins/FfmpegMetaData.cxx
@@ -30,8 +30,15 @@ extern "C" {
#include <libavutil/dict.h>
}
+/**
+ * FFmpeg specific tag name mappings, as supported by
+ * libavformat/id3v2.c, libavformat/mov.c and others.
+ */
static constexpr struct tag_table ffmpeg_tags[] = {
+ /* from libavformat/id3v2.c, libavformat/mov.c */
{ "album_artist", TAG_ALBUM_ARTIST },
+
+ /* from libavformat/mov.c */
{ "sort_album_artist", TAG_ALBUM_ARTIST_SORT },
{ "sort_artist", TAG_ARTIST_SORT },