Browse Source

movenc: Allow chapter track in default MODE_MP4

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.1
John Stebbins Martin Storsjö 11 years ago
parent
commit
db03cb37fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/movenc.c

+ 1
- 1
libavformat/movenc.c View File

@@ -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) {


Loading…
Cancel
Save