mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
movenc: Allow chapter track in default MODE_MP4
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
64af59bc49
commit
db03cb37fd
@ -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…
Reference in New Issue
Block a user