Don't test HDR encoding with H.264
It doesn't work on any GPU, and even if it did, Moonlight doesn't support it.
This commit is contained in:
parent
65268212ee
commit
bd443395c6
1 changed files with 3 additions and 1 deletions
|
|
@ -1866,7 +1866,9 @@ namespace video {
|
||||||
h264.videoFormat = 0;
|
h264.videoFormat = 0;
|
||||||
hevc.videoFormat = 1;
|
hevc.videoFormat = 1;
|
||||||
|
|
||||||
encoder.h264[flag] = validate_config(disp, encoder, h264) >= 0;
|
// HDR is not supported with H.264. Don't bother even trying it.
|
||||||
|
encoder.h264[flag] = flag != encoder_t::DYNAMIC_RANGE && validate_config(disp, encoder, h264) >= 0;
|
||||||
|
|
||||||
if (encoder.hevc[encoder_t::PASSED]) {
|
if (encoder.hevc[encoder_t::PASSED]) {
|
||||||
encoder.hevc[flag] = validate_config(disp, encoder, hevc) >= 0;
|
encoder.hevc[flag] = validate_config(disp, encoder, hevc) >= 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue