From 2f7543f808be639b6bae024effdd5157e67be9d7 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 5 Oct 2025 11:48:42 +0200 Subject: [PATCH] DOCS/man/input: document that screenshot-raw works in scripts Use the same wording as expand-text and similar commands. --- DOCS/man/input.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 02509b1daf..a4307c8146 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1462,9 +1462,10 @@ Screenshot Commands expansion as described in `Property Expansion`_. ``screenshot-raw [ []]`` - 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