diff options
author | cloud11665 <cloud11665@gmail.com> | 2023-03-23 16:49:38 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-03-25 16:24:21 +0000 |
commit | 664f197746dcd64beb528ffba422ca84862fe208 (patch) | |
tree | e9f0368c4353ce3c7aaeb1a396af9b340efd1e25 /DOCS/man/input.rst | |
parent | 34a04d056764f4f1447d39b60be56f02253831f8 (diff) | |
download | mpv-664f197746dcd64beb528ffba422ca84862fe208.tar.bz2 mpv-664f197746dcd64beb528ffba422ca84862fe208.tar.xz |
player/screenshot: add filename return field
DOCS/input: add screenshot return value description
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 4f9e68d567..20c4febe4a 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -386,6 +386,9 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_). ``async`` flag to make encoding/writing the image file asynchronous. For normal standalone commands, this is always asynchronous, and the flag has no effect. (This behavior changed with mpv 0.29.0.) + + On success, returns a ``mpv_node`` with a ``filename`` field set to the + saved screenshot location. ``screenshot-to-file <filename> <flags>`` Take a screenshot and save it to a given file. The format of the file will |