Commit 600d5ee6 authored by Martin Storsjö's avatar Martin Storsjö

movenc: Signal iso6 in compatible_brands when using tfdt

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent a9911a1b
...@@ -2742,6 +2742,11 @@ static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s) ...@@ -2742,6 +2742,11 @@ static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s)
ffio_wfourcc(pb, "avc1"); 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) if (mov->mode == MODE_3GP)
ffio_wfourcc(pb, has_h264 ? "3gp6":"3gp4"); ffio_wfourcc(pb, has_h264 ? "3gp6":"3gp4");
else if (mov->mode & MODE_3G2) else if (mov->mode & MODE_3G2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment