diff options
author | wm4 <wm4@nowhere> | 2019-12-18 06:31:39 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-18 06:31:39 +0100 |
commit | 0a1588d39b2c30421909c87e60b1510ffd338497 (patch) | |
tree | 25a2bdc80cfad1d9b57099b439ddf5a38f92d5b9 /DOCS/man/vf.rst | |
parent | 8bdedf9062074f03b13820487fccc892105eb472 (diff) | |
download | mpv-0a1588d39b2c30421909c87e60b1510ffd338497.tar.bz2 mpv-0a1588d39b2c30421909c87e60b1510ffd338497.tar.xz |
options: add -remove action to list options
Actually I wanted this for key/value lists only, but add it to the
others for consistency too. (For vf/af it barely makes even sense, but
anyway.)
Diffstat (limited to 'DOCS/man/vf.rst')
-rw-r--r-- | DOCS/man/vf.rst | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index a9288d7a93..7f0b0f9bc9 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -96,12 +96,24 @@ filter list. Prepends the filters given as arguments to the filter list. (Passing multiple filters is currently still possible, but deprecated.) +``--vf-remove=filter`` + Deletes the filter from the list. The filter can be either given the way it + was added (filter name and its full argument list), or by label (prefixed + with ``@``). Matching of filters works as follows: if either of the compared + filters has a label set, only the labels are compared. If none of the + filters have a label, the filter name, arguments, and argument order are + compared. + +``-vf-toggle=filter`` + Add the given filter to the list if it was not present yet, or remove it + from the list if it was present. Matching of filters works as described in + ``--vf-remove``. + ``--vf-del=filter`` - Deletes the filter. The filter can even given the way it was added (filter - name and its full argument list), by label (prefixed with ``@``), or as - index number. Index numbers start at 0, negative numbers address the end of - the list (-1 is the last). (Passing multiple filters is currently still - possible, but deprecated.) + Sort of like ``--vf-remove``, but also accepts an index number. Index + numbers start at 0, negative numbers address the end of the list (-1 is the + last). (Passing multiple filters is currently still possible, but + deprecated.) ``--vf-clr`` Completely empties the filter list. |