diff options
author | Martin Storsjö <martin@martin.st> | 2014-11-22 00:53:42 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-03-23 12:43:35 +0200 |
commit | e0046bc9c96150fa06146ace9093f06857dd7b23 (patch) | |
tree | 9213c7c41d8b46f668cc934d000550caa531823b /libavformat | |
parent | cfe64613923a2d47644a87386146ada1f9f6b659 (diff) | |
download | ffmpeg-e0046bc9c96150fa06146ace9093f06857dd7b23.tar.gz |
movenc: Write the make and model metadata keys for mov style files
These are essential allowing QuickTime to keep detecting content
as slow-motion - this allows preserving them on stream copy.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 7b711bc831..30d397a349 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2192,6 +2192,8 @@ static int mov_write_udta_tag(AVIOContext *pb, MOVMuxContext *mov, mov_write_string_metadata(s, pb_buf, "\251des", "comment", 0); mov_write_string_metadata(s, pb_buf, "\251gen", "genre", 0); mov_write_string_metadata(s, pb_buf, "\251cpy", "copyright", 0); + mov_write_string_metadata(s, pb_buf, "\251mak", "make", 0); + mov_write_string_metadata(s, pb_buf, "\251mod", "model", 0); } else { /* iTunes meta data */ mov_write_meta_tag(pb_buf, mov, s); |