Commit db03cb37 authored by John Stebbins's avatar John Stebbins Committed by Martin Storsjö
Browse files

movenc: Allow chapter track in default MODE_MP4


Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 64af59bc
......@@ -3059,7 +3059,7 @@ static int mov_write_header(AVFormatContext *s)
}
mov->nb_streams = s->nb_streams;
if (mov->mode & (MODE_MOV|MODE_IPOD) && s->nb_chapters)
if (mov->mode & (MODE_MP4|MODE_MOV|MODE_IPOD) && s->nb_chapters)
mov->chapter_track = mov->nb_streams++;
if (mov->flags & FF_MOV_FLAG_RTP_HINT) {
......
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