diff options
author | wm4 <wm4@nowhere> | 2020-08-15 12:04:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-08-15 12:05:11 +0200 |
commit | 112d2a2c500682003798ae60fc6cd0d5dabbe174 (patch) | |
tree | 1174d1c0210a0fe9e1a46e765fa18f4a3e63df73 /DOCS/man | |
parent | e107342ff929886f1a07cd569847998631ae15c5 (diff) | |
download | mpv-112d2a2c500682003798ae60fc6cd0d5dabbe174.tar.bz2 mpv-112d2a2c500682003798ae60fc6cd0d5dabbe174.tar.xz |
command: export alpha type in format properties
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/input.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 6c589e7521..6213eb29fb 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -2328,6 +2328,11 @@ Property list Source file stereo 3D mode. (See the ``format`` video filter's ``stereo-in`` option.) + ``video-params/alpha`` + Alpha type. If the format has no alpha channel, this will be unavailable + (but in future releases, it could change to ``no``). If alpha is + present, this is set to ``straight`` or ``premul``. + When querying the property with the client API using ``MPV_FORMAT_NODE``, or with Lua ``mp.get_property_native``, this will return a mpv_node with the following contents: @@ -2351,6 +2356,8 @@ Property list "chroma-location" MPV_FORMAT_STRING "rotate" MPV_FORMAT_INT64 "stereo-in" MPV_FORMAT_STRING + "average-bpp" MPV_FORMAT_INT64 + "alpha" MPV_FORMAT_STRING ``dwidth``, ``dheight`` Video display size. This is the video size after filters and aspect scaling |