diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-01-07 17:14:08 -0600 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2016-10-24 05:47:10 -0500 |
commit | 697400eac07c0614f6b9f2e7615563982dbcbe4a (patch) | |
tree | 19889d47645182bada8d23adb233312b85c64b4e /libavformat/isom.h | |
parent | 73ead477ddd9dbfbe6f7e8d3fc90ebfd21b271b0 (diff) | |
download | ffmpeg-697400eac07c0614f6b9f2e7615563982dbcbe4a.tar.gz |
lavf/mov: improve `tref/chap` chapter handling
3 parts:
- Supports multiple chapter streams
- Exports regular text chapter streams as opaque data. This prevents consumers
from showing chapters as if they were regular subtitle streams.
- Exports video chapter streams as thumbnails, and provides the first one as
an attached_pic.
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r-- | libavformat/isom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h index 2246fed4ef..9038057820 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -210,7 +210,8 @@ typedef struct MOVContext { unsigned trex_count; int itunes_metadata; ///< metadata are itunes style int handbrake_version; - int chapter_track; + int *chapter_tracks; + unsigned int nb_chapter_tracks; int use_absolute_path; int ignore_editlist; int ignore_chapters; |