mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 13:44:17 +00:00
Ensure serverCodecModeSupport is always non-zero
This commit is contained in:
parent
a81c6a1c5e
commit
5424576f73
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue