mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-14 11:46:18 +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();
|
||||
}
|
||||
else {
|
||||
this->serverCodecModeSupport = 0;
|
||||
// Assume H.264 is always supported
|
||||
this->serverCodecModeSupport = 0x3;
|
||||
}
|
||||
|
||||
QString maxLumaPixelsHEVC = NvHTTP::getXmlString(serverInfo, "MaxLumaPixelsHEVC");
|
||||
|
||||
Reference in New Issue
Block a user