diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-26 16:56:05 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-26 16:58:10 +0200 |
commit | 7001c2d994457e49b6c330319987649eadbdcb80 (patch) | |
tree | 888d6a91caa80addaa215dd2f5b94fc022d55f2b /options.h | |
parent | 90d8bbb2257d2638f98b8c6fcfcabc778d9696ff (diff) | |
download | mpv-7001c2d994457e49b6c330319987649eadbdcb80.tar.bz2 mpv-7001c2d994457e49b6c330319987649eadbdcb80.tar.xz |
core: ordered chapters: add heuristic for merging inaccurate chapters
Some Matroska files have inaccurate ordered chapter endpoints, and so
parts where one chapter should end and the next begin at the same
timestamp were not merged. This resulted in an unnecessary seek over a
minimal distance. Add a heuristic to merge parts with a minimal gap or
overlap between them.
Based on patch by Hector Martin <hector@marcansoft.com>.
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ typedef struct MPOpts { int capture_dump; int loop_times; int ordered_chapters; + int chapter_merge_threshold; int quiet; float stream_cache_min_percent; float stream_cache_seek_min_percent; |