aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-10-15 23:23:47 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-10-15 23:23:47 +0000
commit96d1e75a0cfc2323f6b9a9519eba27b924fcad95 (patch)
tree128b09c585ed587f17a4d0a763d8e40d42a43412
parentedd33cb6faa78bf1cc533ccd283719b2c9224756 (diff)
downloadffmpeg-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.c1
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);