Merge branch 'configchecks' into 'master'

Fix refreshing with Extreme preset not applying correctly

See merge request kasm-technologies/internal/KasmVNC!77
This commit is contained in:
Matthew McClaskey 2022-11-15 14:56:29 +00:00
commit bd5d8b46e4

View File

@ -366,7 +366,7 @@ void EncodeManager::doUpdate(bool allowLossy, const Region& changed_,
Server::dynamicQualityMax > Server::dynamicQualityMin) {
dynamicQualityMin = Server::dynamicQualityMin;
dynamicQualityOff = Server::dynamicQualityMax - Server::dynamicQualityMin;
} else if (dynamicQualityMin >= 0) {
} else if (Server::dynamicQualityMin >= 0) {
dynamicQualityMin = Server::dynamicQualityMin;
dynamicQualityOff = 0;
}