mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[client] h264: use high profile as it's more compatible on newer cards
This commit is contained in:
parent
7648ea712c
commit
b9723adc30
@ -196,7 +196,7 @@ static bool lgd_h264_initialize(void * opaque, const LG_RendererFormat format, S
|
|||||||
|
|
||||||
status = vaQueryConfigEntrypoints(
|
status = vaQueryConfigEntrypoints(
|
||||||
this->vaDisplay,
|
this->vaDisplay,
|
||||||
VAProfileH264Baseline,
|
VAProfileH264High,
|
||||||
entryPoints,
|
entryPoints,
|
||||||
&entryPointCount
|
&entryPointCount
|
||||||
);
|
);
|
||||||
@ -221,7 +221,7 @@ static bool lgd_h264_initialize(void * opaque, const LG_RendererFormat format, S
|
|||||||
attrib.type = VAConfigAttribRTFormat;
|
attrib.type = VAConfigAttribRTFormat;
|
||||||
vaGetConfigAttributes(
|
vaGetConfigAttributes(
|
||||||
this->vaDisplay,
|
this->vaDisplay,
|
||||||
VAProfileH264ConstrainedBaseline,
|
VAProfileH264High,
|
||||||
VAEntrypointVLD,
|
VAEntrypointVLD,
|
||||||
&attrib,
|
&attrib,
|
||||||
1);
|
1);
|
||||||
@ -234,7 +234,7 @@ static bool lgd_h264_initialize(void * opaque, const LG_RendererFormat format, S
|
|||||||
|
|
||||||
status = vaCreateConfig(
|
status = vaCreateConfig(
|
||||||
this->vaDisplay,
|
this->vaDisplay,
|
||||||
VAProfileH264ConstrainedBaseline,
|
VAProfileH264High,
|
||||||
VAEntrypointVLD,
|
VAEntrypointVLD,
|
||||||
&attrib,
|
&attrib,
|
||||||
1,
|
1,
|
||||||
|
Loading…
Reference in New Issue
Block a user