decoder/ffmpeg: add comment

This commit is contained in:
Max Kellermann 2021-05-26 12:57:24 +02:00
parent 4ec4bab3a9
commit 8f3341cefb

View File

@ -30,8 +30,15 @@ extern "C" {
#include <libavutil/dict.h> #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[] = { static constexpr struct tag_table ffmpeg_tags[] = {
/* from libavformat/id3v2.c, libavformat/mov.c */
{ "album_artist", TAG_ALBUM_ARTIST }, { "album_artist", TAG_ALBUM_ARTIST },
/* from libavformat/mov.c */
{ "sort_album_artist", TAG_ALBUM_ARTIST_SORT }, { "sort_album_artist", TAG_ALBUM_ARTIST_SORT },
{ "sort_artist", TAG_ARTIST_SORT }, { "sort_artist", TAG_ARTIST_SORT },