diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-10-15 23:23:47 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-10-15 23:23:47 +0000 |
commit | 96d1e75a0cfc2323f6b9a9519eba27b924fcad95 (patch) | |
tree | 128b09c585ed587f17a4d0a763d8e40d42a43412 | |
parent | edd33cb6faa78bf1cc533ccd283719b2c9224756 (diff) | |
download | ffmpeg-96d1e75a0cfc2323f6b9a9519eba27b924fcad95.tar.gz |
In mov muxer, write artist metadata tag
Originally committed as revision 25498 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/movenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index d98d0c12c6..77f122b6da 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1610,6 +1610,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVMuxContext *mov, mov_write_3gp_udta_tag(pb_buf, s, "cprt", "copyright"); mov_write_3gp_udta_tag(pb_buf, s, "yrrc", "date"); } else if (mov->mode == MODE_MOV) { // the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4 + mov_write_string_metadata(s, pb_buf, "\251ART", "artist" , 0); mov_write_string_metadata(s, pb_buf, "\251nam", "title" , 0); mov_write_string_metadata(s, pb_buf, "\251aut", "author" , 0); mov_write_string_metadata(s, pb_buf, "\251alb", "album" , 0); |