diff options
author | Martin Storsjö <martin@martin.st> | 2014-10-29 17:00:38 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-10-29 23:03:52 +0200 |
commit | 600d5ee6b12bad144756b0772319bb04796bc528 (patch) | |
tree | 4cbe7a4897c79d2a31a3e979dcec134e28f3deed | |
parent | a9911a1b2df37ca808e06dc30627215f4ec9a9e4 (diff) | |
download | ffmpeg-600d5ee6b12bad144756b0772319bb04796bc528.tar.gz |
movenc: Signal iso6 in compatible_brands when using tfdt
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/movenc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index c50adb6c82..1f5d97285e 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2742,6 +2742,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) |