core: ordered chapters: add heuristic for merging inaccurate chapters
commit7001c2d994457e49b6c330319987649eadbdcb80
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 26 Nov 2010 14:56:05 +0000 (26 16:56 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 26 Nov 2010 14:58:10 +0000 (26 16:58 +0200)
tree888d6a91caa80addaa215dd2f5b94fc022d55f2b
parent90d8bbb2257d2638f98b8c6fcfcabc778d9696ff
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>.
DOCS/man/en/mplayer.1
cfg-mplayer.h
defaultopts.c
mplayer.c
options.h