[FFmpeg-devel] libavformat/id3v2: add some ID3v2.3 tags convertion

Submitted by tiejun.peng on Dec. 5, 2017, 3:38 a.m.

Details

Message ID 1512445089-3368-1-git-send-email-tiejun.peng@foxmail.com
State New
Headers show

Commit Message

tiejun.peng Dec. 5, 2017, 3:38 a.m.
Signed-off-by: tiejun.peng <tiejun.peng@foxmail.com>
---
 libavformat/id3v2.c | 5 +++++
 1 file changed, 5 insertions(+)

Patch hide | download patch | download mbox

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 6c216ba..1cf759b 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -56,6 +56,11 @@  const AVMetadataConv ff_id3v2_34_metadata_conv[] = {
     { "TRCK", "track"        },
     { "TSSE", "encoder"      },
     { "USLT", "lyrics"       },
+    { "TYER", "year"         },
+    { "TDAT", "date"         },
+    { "TMED", "media_type"   },
+    { "TOLY", "author"       },
+    { "TBPM", "BPM"          },
     { 0 }
 };