summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorBryan Huh <bryan@box.com>2015-11-10 11:11:26 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-10 23:45:19 +0100
commit85e3c31fd54c106d45b0066e4fc3cf42d31ffb41 (patch)
tree68be7b131319563e054bba616a36bc52dc38f485 /libavformat/isom.h
parentd9726893f311b7bbbc9887db2c3ffbefaad78ca3 (diff)
downloadffmpeg-85e3c31fd54c106d45b0066e4fc3cf42d31ffb41.tar.gz
avformat/mov: Add option to ignore chapters during parsing
Chapter-indexing can be expensive since chapters may be interspersed throughout the entire file and may require many seeks - especially costly when consuming a video over a remote protocol like http. Furthermore it is often unnecessary, especially when only trying to get video info (e.g. via ffprobe). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index dba30a25f1..a082e403b7 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -190,6 +190,7 @@ typedef struct MOVContext {
int chapter_track;
int use_absolute_path;
int ignore_editlist;
+ int ignore_chapters;
int seek_individually;
int64_t next_root_atom; ///< offset of the next root atom
int export_all;