diff options
author | wm4 <wm4@nowhere> | 2019-11-24 22:39:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-24 22:39:47 +0100 |
commit | e2e6bb496e615ab33b55d2218d289d969b103ae8 (patch) | |
tree | b13c42b34afcfe95c80a18743c92dc0c5fc2ea2a | |
parent | c1acb1afe1a890f6195acdd08842c81b9cea3528 (diff) | |
download | mpv-e2e6bb496e615ab33b55d2218d289d969b103ae8.tar.bz2 mpv-e2e6bb496e615ab33b55d2218d289d969b103ae8.tar.xz |
options: remove deprecated --playlist-pos alias
This causes problems because it has the same name as a property which
behaves differently.
-rw-r--r-- | DOCS/interface-changes.rst | 1 | ||||
-rw-r--r-- | DOCS/man/input.rst | 4 | ||||
-rw-r--r-- | options/options.c | 1 |
3 files changed, 1 insertions, 5 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 3a399fb265..1b8e2ec7a2 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -42,6 +42,7 @@ Interface changes undeprecated or readded if it's not too much of a problem) - deprecate all input section commands (these will be changed/removed, as soon as mpv internals do not require them anymore) + - remove deprecated --playlist-pos alias (use --playlist-start) --- mpv 0.30.0 --- - add `--d3d11-output-format` to enable explicit selection of a D3D11 swap chain format. diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 929f216692..3fa821e3fd 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -2735,10 +2735,6 @@ caveats with some properties (due to historical reasons): Strictly speaking, option access via API (e.g. ``mpv_set_option_string()``) has the same problem, and it's only a difference between CLI/API. -``playlist-pos``, ``chapter`` - These properties behave different from the deprecated options with the same - names. - ``profile``, ``include`` These are write-only, and will perform actions as they are written to, exactly as if they were used on the mpv CLI commandline. Their only use is diff --git a/options/options.c b/options/options.c index 1f0c9b1ef3..bbe596d24e 100644 --- a/options/options.c +++ b/options/options.c @@ -856,7 +856,6 @@ const m_option_t mp_opts[] = { OPT_REPLACED("input-unix-socket", "input-ipc-server"), OPT_REPLACED("softvol-max", "volume-max"), OPT_REMOVED("bluray-angle", "this didn't do anything for a few releases"), - OPT_REPLACED("playlist-pos", "playlist-start"), OPT_REPLACED("sub-text-font", "sub-font"), OPT_REPLACED("sub-text-font-size", "sub-font-size"), OPT_REPLACED("sub-text-color", "sub-color"), |