[Libva] [PATCH 1/5] tests: simplify VA display construction.
Gwenole Beauchesne
gb.devel at gmail.com
Wed Jul 4 22:17:43 PDT 2012
Hi,
2012/7/5 Xiang, Haihao <haihao.xiang at intel.com>:
>
> If there are two or above valid displays, is there a way to use the
> second display ?
This is tests... We will always prefer the most native display mode.
So X11 on Linux systems, or DRM mode as a fallback.
>> +static VADisplay
>> +va_open_display_x11(void)
>> +{
>> + x11_display = XOpenDisplay(NULL);
>
> So a user must set the DISPLAY environment variable, is that right ?
This has always been the case. You will hardly get a working
environment if DISPLAY is not set.
More information about the Libva
mailing list