mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Ensure serverCodecModeSupport is always non-zero
This commit is contained in:
@@ -136,7 +136,8 @@ NvComputer::NvComputer(NvHTTP& http, QString serverInfo)
|
|||||||
this->serverCodecModeSupport = codecSupport.toInt();
|
this->serverCodecModeSupport = codecSupport.toInt();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this->serverCodecModeSupport = 0;
|
// Assume H.264 is always supported
|
||||||
|
this->serverCodecModeSupport = 0x3;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString maxLumaPixelsHEVC = NvHTTP::getXmlString(serverInfo, "MaxLumaPixelsHEVC");
|
QString maxLumaPixelsHEVC = NvHTTP::getXmlString(serverInfo, "MaxLumaPixelsHEVC");
|
||||||
|
|||||||
Reference in New Issue
Block a user