mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] h264: use high profile as it's more compatible on newer cards
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user