diff options
author | John Stebbins <stebbins@jetheaddev.com> | 2014-03-03 20:20:15 +0000 |
---|---|---|
committer | Tim Walker <tdskywalker@gmail.com> | 2014-03-08 18:59:35 +0100 |
commit | 565e0c6d866ce08d4b06427456d3d1f4fd856e9c (patch) | |
tree | e75ec011529ee0c034eff424755576ffc7108a70 | |
parent | 0092c1dd8dac2d9e185b58503b447a0d3fb5230d (diff) | |
download | ffmpeg-565e0c6d866ce08d4b06427456d3d1f4fd856e9c.tar.gz |
movenc: allow override of "writing application" tag
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
CC: libav-stable@libav.org
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 762cfef3f2..6344e38298 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1858,7 +1858,8 @@ static int mov_write_ilst_tag(AVIOContext *pb, MOVMuxContext *mov, 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", "date" , 1); - mov_write_string_tag(pb, "\251too", LIBAVFORMAT_IDENT, 0, 1); + if (!mov_write_string_metadata(s, pb, "\251too", "encoding_tool", 1)) + mov_write_string_tag(pb, "\251too", LIBAVFORMAT_IDENT, 0, 1); 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); |