[FFmpeg-cvslog] movenc: allow override of "writing application" tag

John Stebbins git at videolan.org
Tue Mar 11 11:12:33 CET 2014


ffmpeg | branch: release/2.2 | John Stebbins <stebbins at jetheaddev.com> | Mon Mar  3 20:20:15 2014 +0000| [c3861e14ceace7ee69820091871173b4abcae311] | committer: Reinhard Tartler

movenc: allow override of "writing application" tag

Signed-off-by: Tim Walker <tdskywalker at gmail.com>

CC: libav-stable at libav.org
(cherry picked from commit 565e0c6d866ce08d4b06427456d3d1f4fd856e9c)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c3861e14ceace7ee69820091871173b4abcae311
---

 libavformat/movenc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 43a1647..5bc0ca3 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);



More information about the ffmpeg-cvslog mailing list