diff options
author | John Stebbins <stebbins@jetheaddev.com> | 2014-03-03 20:20:15 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-05-31 20:05:19 -0400 |
commit | db52f056c3d26c59feb9156a9deeaf8e0089b86e (patch) | |
tree | 05788964b85bd1a4215fc39074b5c2ef17e72cf2 /libavformat | |
parent | 330c18032464a4e1f3da907e54db2e69a6fbfcda (diff) | |
download | ffmpeg-db52f056c3d26c59feb9156a9deeaf8e0089b86e.tar.gz |
movenc: allow override of "writing application" tag
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
CC: libav-stable@libav.org
(cherry picked from commit 565e0c6d866ce08d4b06427456d3d1f4fd856e9c)
Diffstat (limited to 'libavformat')
-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 85b5667076..0b774f54bf 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1626,7 +1626,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); |