[FFmpeg-cvslog] avformat/id3v2: decode compilation metadata

Peter Ross git at videolan.org
Sat Mar 15 04:58:09 CET 2014


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sat Mar 15 12:26:22 2014 +1100| [847d8af59af5925fb4310256bd63bc54d9cee7b5] | committer: Michael Niedermayer

avformat/id3v2: decode compilation metadata

Described http://id3.org/iTunes%20Compilation%20Flag

Signed-off-by: Peter Ross <pross at xvid.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=847d8af59af5925fb4310256bd63bc54d9cee7b5
---

 libavformat/id3v2.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 3cd23c6..8a8989b 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -59,6 +59,7 @@ const AVMetadataConv ff_id3v2_34_metadata_conv[] = {
 };
 
 const AVMetadataConv ff_id3v2_4_metadata_conv[] = {
+    { "TCMP", "compilation"   },
     { "TDRL", "date"          },
     { "TDRC", "date"          },
     { "TDEN", "creation_time" },
@@ -71,6 +72,7 @@ const AVMetadataConv ff_id3v2_4_metadata_conv[] = {
 static const AVMetadataConv id3v2_2_metadata_conv[] = {
     { "TAL", "album"        },
     { "TCO", "genre"        },
+    { "TCP", "compilation"  },
     { "TT2", "title"        },
     { "TEN", "encoded_by"   },
     { "TP1", "artist"       },



More information about the ffmpeg-cvslog mailing list