Mercurial > libavformat.hg
changeset 5492:2aecc666c976 libavformat
Add support for these widely-used iTunes metadata fields: Album Artist,
Grouping, and Lyrics.
author | melanson |
---|---|
date | Mon, 04 Jan 2010 02:52:40 +0000 |
parents | a7aeae5a367b |
children | 3192d4161330 |
files | movenc.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Sun Jan 03 14:31:25 2010 +0000 +++ b/movenc.c Mon Jan 04 02:52:40 2010 +0000 @@ -1434,6 +1434,7 @@ put_tag(pb, "ilst"); mov_write_string_metadata(s, pb, "\251nam", "title" , 1); mov_write_string_metadata(s, pb, "\251ART", "author" , 1); + mov_write_string_metadata(s, pb, "aART", "album_artist", 1); mov_write_string_metadata(s, pb, "\251wrt", "composer" , 1); mov_write_string_metadata(s, pb, "\251alb", "album" , 1); mov_write_string_metadata(s, pb, "\251day", "year" , 1); @@ -1441,6 +1442,8 @@ mov_write_string_metadata(s, pb, "\251cmt", "comment" , 1); mov_write_string_metadata(s, pb, "\251gen", "genre" , 1); mov_write_string_metadata(s, pb, "\251cpy", "copyright", 1); + mov_write_string_metadata(s, pb, "\251grp", "grouping" , 1); + mov_write_string_metadata(s, pb, "\251lyr", "lyrics" , 1); mov_write_string_metadata(s, pb, "desc", "description",1); mov_write_string_metadata(s, pb, "ldes", "synopsis" , 1); mov_write_string_metadata(s, pb, "tvsh", "show" , 1);