aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2010-01-04 02:52:40 +0000
committerMike Melanson <mike@multimedia.cx>2010-01-04 02:52:40 +0000
commit2cf9c7ef9c421835e6b51eb4ef7c488f1feb4bf9 (patch)
tree6e4212a1dba6e19903f441582b47cba0d5528b05 /libavformat/movenc.c
parent5ff84183de1addfeacfa095e88b0f5c62916d9e2 (diff)
downloadffmpeg-2cf9c7ef9c421835e6b51eb4ef7c488f1feb4bf9.tar.gz
Add support for these widely-used iTunes metadata fields: Album Artist,
Grouping, and Lyrics. Originally committed as revision 21010 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index fe26cf01c0..3375ab9ddf 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1434,6 +1434,7 @@ static int mov_write_ilst_tag(ByteIOContext *pb, MOVMuxContext *mov,
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 @@ static int mov_write_ilst_tag(ByteIOContext *pb, MOVMuxContext *mov,
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);