[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(
this->vaDisplay,
VAProfileH264Baseline,
VAProfileH264High,
entryPoints,
&entryPointCount
);
@ -221,7 +221,7 @@ static bool lgd_h264_initialize(void * opaque, const LG_RendererFormat format, S
attrib.type = VAConfigAttribRTFormat;
vaGetConfigAttributes(
this->vaDisplay,
VAProfileH264ConstrainedBaseline,
VAProfileH264High,
VAEntrypointVLD,
&attrib,
1);
@ -234,7 +234,7 @@ static bool lgd_h264_initialize(void * opaque, const LG_RendererFormat format, S
status = vaCreateConfig(
this->vaDisplay,
VAProfileH264ConstrainedBaseline,
VAProfileH264High,
VAEntrypointVLD,
&attrib,
1,