From 85e3c31fd54c106d45b0066e4fc3cf42d31ffb41 Mon Sep 17 00:00:00 2001 From: Bryan Huh Date: Tue, 10 Nov 2015 11:11:26 -0800 Subject: 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 --- libavformat/isom.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/isom.h') 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; -- cgit v1.2.3