DOCS/man/input: document that screenshot-raw works in scripts

Use the same wording as expand-text and similar commands.
This commit is contained in:
Guido Cella
2025-10-05 11:48:42 +02:00
committed by Kacper Michajłow
parent 17a3ac4cf2
commit 2f7543f808

View File

@@ -1462,9 +1462,10 @@ Screenshot Commands
expansion as described in `Property Expansion`_.
``screenshot-raw [<flags> [<format>]]``
Return a screenshot in memory. This can be used only through the client
API. The MPV_FORMAT_NODE_MAP returned by this command has the ``w``, ``h``,
``stride`` fields set to obvious contents.
Return a screenshot in memory. This can be used only through the client API
or from a script using ``mp.command_native``. The MPV_FORMAT_NODE_MAP
returned by this command has the ``w``, ``h``, ``stride`` fields set to
obvious contents.
The ``format`` field is set to the format of the screenshot image data.
This can be controlled by the ``format`` argument. The format can be one of