diff options
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r-- | libavformat/id3v2.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index dedc0450b3..651c8fc613 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -242,3 +242,22 @@ void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t flags) av_log(s, AV_LOG_INFO, "ID3v2.%d tag skipped, cannot handle %s\n", version, reason); url_fskip(s->pb, len); } + +const AVMetadataConv ff_id3v2_metadata_conv[] = { + { "TALB", "album"}, + { "TCOM", "composer"}, + { "TCON", "genre"}, + { "TCOP", "copyright"}, + { "TDRL", "date"}, + { "TENC", "encoder"}, + { "TIT2", "title"}, + { "TLAN", "language"}, + { "TPE1", "author"}, + { "TPOS", "disc"}, + { "TPUB", "publisher"}, + { "TRCK", "track"}, + { "TSOA", "albumsort"}, + { "TSOP", "authorsort"}, + { "TSOT", "titlesort"}, + { 0 } +}; |