projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64af59b
)
movenc: Allow chapter track in default MODE_MP4
author
John Stebbins
<stebbins@jetheaddev.com>
Mon, 19 Aug 2013 23:05:29 +0000
(16:05 -0700)
committer
Martin Storsjö
<martin@martin.st>
Tue, 20 Aug 2013 14:18:42 +0000
(15:18 +0100)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c
patch
|
blob
|
history
diff --git
a/libavformat/movenc.c
b/libavformat/movenc.c
index
b83b0c0
..
3338f46
100644
(file)
--- a/
libavformat/movenc.c
+++ b/
libavformat/movenc.c
@@
-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_M
P4|MODE_M
OV|MODE_IPOD) && s->nb_chapters)
mov->chapter_track = mov->nb_streams++;
if (mov->flags & FF_MOV_FLAG_RTP_HINT) {