[client] h264: use high profile as it's more compatible on newer cards

This commit is contained in:
Geoffrey McRae 2018-01-04 09:27:24 +11:00
parent 7648ea712c
commit b9723adc30

View File

@ -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,