diff options
author | wm4 <wm4@nowhere> | 2017-03-18 12:53:03 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-03-18 14:15:34 +0100 |
commit | 8a28f94a7e17885662c7cdfbb6d07b84b86212d2 (patch) | |
tree | 9a33b4ca72ec5aab152e02761d496759d2929c28 /DOCS/man/input.rst | |
parent | d276a01ac3fd8655a48c4a39d3d8574c25e83027 (diff) | |
download | mpv-8a28f94a7e17885662c7cdfbb6d07b84b86212d2.tar.bz2 mpv-8a28f94a7e17885662c7cdfbb6d07b84b86212d2.tar.xz |
manpage: slightly improve screenshot-raw description
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 01fe7376fd..67c5e81b7d 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -677,11 +677,12 @@ Input Commands that are Possibly Subject to Change ``screenshot-raw [subtitles|video|window]`` 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. A ``format`` field is set to + ``stride`` fields set to obvious contents. The ``format`` field is set to ``bgr0`` by default. This format is organized as ``B8G8R8X8`` (where ``B`` - is the LSB). The contents of the padding ``X`` is undefined. The ``data`` + is the LSB). The contents of the padding ``X`` are undefined. The ``data`` field is of type MPV_FORMAT_BYTE_ARRAY with the actual image data. The image - is freed as soon as the result node is freed. + is freed as soon as the result mpv_node is freed. As usual with client API + semantics, you are not allowed to write to the image data. ``vf-command "<label>" "<cmd>" "<args>"`` Send a command to the filter with the given ``<label>``. Use ``all`` to send |