summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c4
-rw-r--r--options/options.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/options/options.c b/options/options.c
index 65c6d7234e..0d7d0ed51e 100644
--- a/options/options.c
+++ b/options/options.c
@@ -389,8 +389,6 @@ const m_option_t mp_opts[] = {
#if HAVE_DVDNAV
OPT_SUBSTRUCT("", dvd_opts, dvd_conf, 0),
#endif
- OPT_INTPAIR("chapter", chapterrange, 0, .deprecation_message = "instead of "
- "--chapter=A-B use --start=#A --end=#B+1"),
OPT_CHOICE_OR_INT("edition", edition_id, 0, 0, 8190,
({"auto", -1})),
#if HAVE_LIBBLURAY
@@ -865,6 +863,7 @@ const m_option_t mp_opts[] = {
OPT_REMOVED("heartbeat-cmd", "use Lua scripting instead"),
OPT_REMOVED("no-ometadata", "use --no-ocopy-metadata"),
OPT_REMOVED("video-stereo-mode", "removed, try --vf=stereo3d"),
+ OPT_REMOVED("chapter", "use '--start=#123' '--end=#124' (for chapter 123)"),
{0}
};
@@ -909,7 +908,6 @@ const struct MPOpts mp_default_opts = {
.hls_bitrate = INT_MAX,
.cache_pause = 1,
.cache_pause_wait = 1.0,
- .chapterrange = {-1, -1},
.ab_loop = {MP_NOPTS_VALUE, MP_NOPTS_VALUE},
.edition_id = -1,
.default_max_pts_correction = -1,
diff --git a/options/options.h b/options/options.h
index 26693221a3..8489c79aa9 100644
--- a/options/options.h
+++ b/options/options.h
@@ -194,7 +194,6 @@ typedef struct MPOpts {
char *force_configdir;
int use_filedir_conf;
int hls_bitrate;
- int chapterrange[2];
int edition_id;
int correct_pts;
int initial_audio_sync;