summaryrefslogtreecommitdiffstats
path: root/DOCS/man/mpv.rst
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-04-16 14:13:56 -0400
committerKacper Michajłow <kasper93@gmail.com>2024-04-18 16:28:21 +0200
commit750dec880c6294fba8457ea7f4b36a3dfcd1ebb5 (patch)
tree4a85e64bbb5d2b31757f1067adf0a84e739a9a61 /DOCS/man/mpv.rst
parente968a505d6a4165a74623cdc5c47b6efbe378f36 (diff)
downloadmpv-750dec880c6294fba8457ea7f4b36a3dfcd1ebb5.tar.bz2
mpv-750dec880c6294fba8457ea7f4b36a3dfcd1ebb5.tar.xz
m_option: change confusing error messages for obj_settings_list
This option type is not used only by filter options: they're already used by --ao, --vo, and --gpu-context. Replace the mentions of "filter" to "item" instead, and changes some languages to improve clarity. Also change the documentation on "Filter options" to describe what it really is, and fix a typo.
Diffstat (limited to 'DOCS/man/mpv.rst')
-rw-r--r--DOCS/man/mpv.rst27
1 files changed, 14 insertions, 13 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index 479458b157..b0f407e874 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -557,7 +557,7 @@ Suffix Meaning
-pre Prepend 1 or more items (same syntax as -set)
-clr Clear the option (remove all items)
-remove Delete item if present (does not interpret escapes)
--toggle Append an item, or remove if if it already exists (no escapes)
+-toggle Append an item, or remove it if it already exists (no escapes)
============= ===============================================
``-append`` is meant as a simple way to append a single item without having
@@ -591,23 +591,24 @@ appropriate structured data type.
Prior to mpv 0.33, ``:`` was also recognized as separator by ``-set``.
-Filter options
-~~~~~~~~~~~~~~
+Object settings list options
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-This is a very complex option type for the ``--af`` and ``--vf`` options only.
-They often require complicated escaping. See `VIDEO FILTERS`_ for details. They
-support the following operations:
+This is a very complex option type for some options, such as ``--af`` and ``--vf``.
+They often require complicated escaping. See `VIDEO FILTERS`_ for details.
+
+They support the following operations:
============= ===============================================
Suffix Meaning
============= ===============================================
--set Set a list of filters (using ``,`` as separator)
--append Append single filter
--add Append 1 or more filters (same syntax as -set)
--pre Prepend 1 or more filters (same syntax as -set)
--clr Clear the option (remove all filters)
--remove Delete filter if present
--toggle Append a filter, or remove if if it already exists
+-set Set a list of items (using ``,`` as separator)
+-append Append single item
+-add Append 1 or more items (same syntax as -set)
+-pre Prepend 1 or more items (same syntax as -set)
+-clr Clear the option (remove all items)
+-remove Delete item if present
+-toggle Append an item, or remove it if it already exists
-help Pseudo operation that prints a help text to the terminal
============= ===============================================