From 88c3828ad3515b002aa6842885544460d02b61c5 Mon Sep 17 00:00:00 2001 From: loki Date: Wed, 5 May 2021 12:17:25 +0200 Subject: [PATCH] Fixed not testing for 10bit pixels support --- sunshine/video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sunshine/video.cpp b/sunshine/video.cpp index e8e9b4b5..e0a11dc6 100644 --- a/sunshine/video.cpp +++ b/sunshine/video.cpp @@ -306,7 +306,7 @@ static encoder_t amdvce { { (int)amd::profile_h264_e::high, (int)amd::profile_hevc_e::main }, AV_HWDEVICE_TYPE_D3D11VA, AV_PIX_FMT_D3D11, - AV_PIX_FMT_NV12, AV_PIX_FMT_YUV420P, + AV_PIX_FMT_NV12, AV_PIX_FMT_P010, { { { "header_insertion_mode"s, "idr"s }, @@ -1200,7 +1200,7 @@ bool validate_encoder(encoder_t &encoder) { encoder.hevc[encoder_t::PASSED] = test_hevc; std::vector> configs { - { encoder_t::DYNAMIC_RANGE, { 1920, 1080, 60, 1000, 1, 0, 1, 1, 1 } } + { encoder_t::DYNAMIC_RANGE, { 1920, 1080, 60, 1000, 1, 0, 3, 1, 1 } } }; for(auto &[flag, config] : configs) { auto h264 = config;