[VDPAU] [PATCH] vdpauinfo: add option processing

Rémi Denis-Courmont remi at remlab.net
Thu Aug 28 13:02:09 PDT 2014


Le jeudi 28 août 2014, 10:27:31 Aaron Plattner a écrit :
> Add a rudimentary option parser.  Parse the options --display and --screen,
> to specify the argument to XOpenDisplay and the screen within the X display
> to use, respectively.

Shouldn't the screen number be taken from the Display, I mean 
XScreenNumberOfScreen()?

> Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
> ---
> This is the last thing I wanted to do before declaring vdpauinfo version
> 1.0. Does anyone else have anything to get into it before that?

I wish VDPAU as a whole would use XCB instead of (or as an alternative to) the 
horrible and antique Xlib, but that is wishful thinking on my part.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the VDPAU mailing list