[SCM] libav/experimental: In mov muxer, write artist metadata tag
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:17:47 UTC 2013
The following commit has been merged in the experimental branch:
commit 96d1e75a0cfc2323f6b9a9519eba27b924fcad95
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Fri Oct 15 23:23:47 2010 +0000
In mov muxer, write artist metadata tag
Originally committed as revision 25498 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index d98d0c1..77f122b 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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list