From 242558bec1a91b1c04dd0fe346ea6daa628ef710 Mon Sep 17 00:00:00 2001 From: xylosper Date: Sat, 10 Jan 2015 20:29:10 +0900 Subject: 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. --- DOCS/man/input.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'DOCS') 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. -- cgit v1.2.3