diff options
author | Peter Ross <pross@xvid.org> | 2014-03-15 12:25:59 +1100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-15 04:28:58 +0100 |
commit | dadf668df20e041b330fa4d3c5feb32a3f495d32 (patch) | |
tree | e38554b57a7ac8948601c932dab39aeb310e02b7 /libavformat | |
parent | d1bb17940dd242e56541775318636bcbe3eab73d (diff) | |
download | ffmpeg-dadf668df20e041b330fa4d3c5feb32a3f495d32.tar.gz |
avformat/mov: decode compilation metadata
This flag is known as 'Part of a compilation' in Apple iTunes.
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 7a567e4242..8f5657ef81 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -308,6 +308,8 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom) 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','i','l'): key = "compilation"; + parse = mov_metadata_int8_no_padding; 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; |