rfbproto: Request quality level with open-h264

pull/15/head
Andri Yngvason 2022-07-10 14:48:30 +00:00
parent ca6036f4cf
commit df203e5908
1 changed files with 1 additions and 0 deletions

View File

@ -1409,6 +1409,7 @@ rfbBool SetFormatAndEncodings(rfbClient* client)
rfbClientSwap32IfLE(rfbEncodingRRE); rfbClientSwap32IfLE(rfbEncodingRRE);
} else if (strncasecmp(encStr, "open-h264", encStrLen) == 0) { } else if (strncasecmp(encStr, "open-h264", encStrLen) == 0) {
encs[se->nEncodings++] = rfbClientSwap32IfLE(50); encs[se->nEncodings++] = rfbClientSwap32IfLE(50);
requestQualityLevel = TRUE;
} else { } else {
rfbClientLog("Unknown encoding '%.*s'\n", encStrLen, rfbClientLog("Unknown encoding '%.*s'\n", encStrLen,
encStr); encStr);