[FFmpeg-devel] [PATCH] Read the album_artist, grouping and lyrics metadata.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Apr 24 17:03:30 CEST 2011
Our muxer writes these out, so we really should support reading them.
Fixes ticket #30.
---
libavformat/mov.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 4d334c1..e8cfa12 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -144,9 +144,12 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
case MKTAG(0xa9,'n','a','m'): key = "title"; break;
case MKTAG(0xa9,'a','u','t'):
case MKTAG(0xa9,'A','R','T'): key = "artist"; break;
+ case MKTAG( 'a','A','R','T'): key = "album_artist";break;
case MKTAG(0xa9,'w','r','t'): key = "composer"; break;
case MKTAG( 'c','p','r','t'):
case MKTAG(0xa9,'c','p','y'): key = "copyright"; break;
+ case MKTAG(0xa9,'g','r','p'): key = "grouping"; break;
+ case MKTAG(0xa9,'l','y','r'): key = "lyrics"; break;
case MKTAG(0xa9,'c','m','t'):
case MKTAG(0xa9,'i','n','f'): key = "comment"; break;
case MKTAG(0xa9,'a','l','b'): key = "album"; break;
--
1.7.4.4
More information about the ffmpeg-devel
mailing list