aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-30 02:45:55 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-10-30 02:53:52 +0100
commit7f24e1e1a2a95fa56301ac5f5463decb83cbcb68 (patch)
tree76045e1b5910b3391f92310a7f5a60822d37aae7 /libavformat
parentbe787bccc00c0da482e99315dd7b155c575aa159 (diff)
parent600d5ee6b12bad144756b0772319bb04796bc528 (diff)
downloadffmpeg-7f24e1e1a2a95fa56301ac5f5463decb83cbcb68.tar.gz
Merge commit '600d5ee6b12bad144756b0772319bb04796bc528'
* commit '600d5ee6b12bad144756b0772319bb04796bc528': movenc: Signal iso6 in compatible_brands when using tfdt Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 96f51547c0..70f0aa8ef8 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3472,6 +3472,11 @@ static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s)
ffio_wfourcc(pb, "avc1");
}
+ // We add tfdt atoms when fragmenting, signal this with the iso6 compatible
+ // brand. This is compatible with users that don't understand tfdt.
+ if (mov->flags & FF_MOV_FLAG_FRAGMENT)
+ ffio_wfourcc(pb, "iso6");
+
if (mov->mode == MODE_3GP)
ffio_wfourcc(pb, has_h264 ? "3gp6":"3gp4");
else if (mov->mode & MODE_3G2)