[Libva] [PATCH 3/3] tests: allow selection of display.

Gwenole Beauchesne gb.devel at gmail.com
Thu Jul 12 23:24:41 PDT 2012


Hi,

2012/7/13 Xiang, Haihao <haihao.xiang at intel.com>:
> On Tue, 2012-07-10 at 18:16 +0200, Gwenole Beauchesne wrote:
>> Make it possible to select display for test applications that need
>> to render the decoded surfaces. Usage: --display <name> args.
>
> Usually a X client also uses --display to specify a X display, so it is
> easy to confuse the user on X11, at least for me. At first glance, I
> thought it was used to set a X display too. In addition, a user doesn't
> know what is a valid display name unless he(she) reviews the code, so
> could you add a function to print out the usage of --display and list
> all valid displays ?

That has no real value for the tests (mpeg2vldemo, loadjpeg) that use
it since they don't even have help strings. I will provide a --display
help though. Then, push the changes to staging.

Regards,
Gwenole.


More information about the Libva mailing list