diff options
author | xylosper <darklin20@gmail.com> | 2015-01-10 20:29:10 +0900 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-10 18:53:03 +0100 |
commit | 242558bec1a91b1c04dd0fe346ea6daa628ef710 (patch) | |
tree | 61b9b205b8e23f41c0e9adb7d9d977f0759aef9c /DOCS | |
parent | 69dad662c9a3d251792affbac38b9df7e02245f9 (diff) | |
download | mpv-242558bec1a91b1c04dd0fe346ea6daa628ef710.tar.bz2 mpv-242558bec1a91b1c04dd0fe346ea6daa628ef710.tar.xz |
command.c: new subproperties for video-params: bpp and depth
bpp(bits-per-pixel) and depth(bit-depth for color component) can
be calculated from pixelformat technically but it requires massive
informations to be implemented in client side.
These subproperties are provided for convenience.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/input.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 1a829c152c..d044923654 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1119,6 +1119,12 @@ Property list The pixel format as string. This uses the same names as used in other places of mpv. + ``video-params/bpp`` + Bits-per-pixel as integer. + + ``video-params/depth`` + Bit depth for each color component as integer. + ``video-params/w``, ``video-params/h`` Video size as integers, with no aspect correction applied. |