diff options
author | wm4 <wm4@nowhere> | 2017-06-30 16:39:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-30 16:39:36 +0200 |
commit | 91583fccac85880ad2199f50463c095560791d56 (patch) | |
tree | c0e18c2755edf4bd3f9255975cbe1d8f1f1e97f7 /DOCS/interface-changes.rst | |
parent | c1f46dbbe9a9b2d1ae6694118244bea8859ab2f0 (diff) | |
download | mpv-91583fccac85880ad2199f50463c095560791d56.tar.bz2 mpv-91583fccac85880ad2199f50463c095560791d56.tar.xz |
options: change path list options, and document list options
The changes to path list options is basically getting rid of the need to
pass multiple paths to a single option. Instead, you can use the option
multiple times. The old behavior can be used by using the -set suffix
with the option.
Change some options to path lists. For example --script is now append by
default, and if you use --script-set, you need to use ":"/";" as
separator instead of ",".
--sub-paths/--audio-file-paths is a deprecated alias now, and will break
if the user tries to pass multiple paths to it. I'm assuming that if
these are used, most users will pass only 1 path anyway.
--opengl-shaders has more compatibility handling, since it's probably
rather common that users pass multiple options to it.
Also document all that in the manpage.
I'll probably regret this later, as it somewhat increases the complexity
of the option parser, rather than increasing it.
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r-- | DOCS/interface-changes.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 93894f2404..a678e0d528 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -38,6 +38,14 @@ Interface changes - --field-dominance is deprecated (use --vf=setfield=bff or tff) - --really-quiet subtle behavior change - the deprecated handling of setting "no-" options via client API is dropped + - the following options change to append-by-default (and possibly separator): + --script + --audio-file-paths + --sub-paths + also, the following options are deprecated: + --audio-file-paths => --audio-file-path + --sub-paths => --sub-file-path + --opengl-shaders => --opengl-shader --- mpv 0.25.0 --- - remove opengl-cb dxva2 dummy hwdec interop (see git "vo_opengl: remove dxva2 dummy hwdec backend") |