mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-10 16:14:36 +00:00
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
@ -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…
x
Reference in New Issue
Block a user