summaryrefslogtreecommitdiffstats
path: root/mpvcore/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-14 21:52:37 +0100
committerwm4 <wm4@nowhere>2013-12-14 21:52:37 +0100
commit2f49fbff93d76950c441daef76afb3adb9078429 (patch)
tree59cfa3499143538c218da1d470bf85ad4da04ee5 /mpvcore/options.c
parent7f3eda41d940bb0575615c3af4fc64793220d478 (diff)
downloadmpv-2f49fbff93d76950c441daef76afb3adb9078429.tar.bz2
mpv-2f49fbff93d76950c441daef76afb3adb9078429.tar.xz
matroska: add --ordered-chapters-files option
This option takes a playlist. The playlist will then be used as list of potential segment files for use with ordered chapters.
Diffstat (limited to 'mpvcore/options.c')
-rw-r--r--mpvcore/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c
index de7183014f..1a76aa9bf3 100644
--- a/mpvcore/options.c
+++ b/mpvcore/options.c
@@ -684,6 +684,7 @@ const m_option_t mp_opts[] = {
OPT_FLAG("save-position-on-quit", position_save_on_quit, 0),
OPT_FLAG("ordered-chapters", ordered_chapters, 0),
+ OPT_STRING("ordered-chapters-files", ordered_chapters_files, 0),
OPT_INTRANGE("chapter-merge-threshold", chapter_merge_threshold, 0, 0, 10000),
OPT_DOUBLE("chapter-seek-threshold", chapter_seek_threshold, 0),