server: Disable NTP and PTS extensions

They are note ready to be released.
v0.7
Andri Yngvason 2023-10-04 21:11:37 +00:00
parent 57d3b8d02d
commit 2e61346c3f
1 changed files with 2 additions and 1 deletions

View File

@ -970,9 +970,10 @@ static int on_client_set_encodings(struct nvnc_client* client)
case RFB_ENCODING_DESKTOPSIZE: case RFB_ENCODING_DESKTOPSIZE:
case RFB_ENCODING_EXTENDEDDESKTOPSIZE: case RFB_ENCODING_EXTENDEDDESKTOPSIZE:
case RFB_ENCODING_QEMU_EXT_KEY_EVENT: case RFB_ENCODING_QEMU_EXT_KEY_EVENT:
client->encodings[n++] = encoding;
case RFB_ENCODING_PTS: case RFB_ENCODING_PTS:
case RFB_ENCODING_NTP: case RFB_ENCODING_NTP:
client->encodings[n++] = encoding; ;
} }
if (RFB_ENCODING_JPEG_LOWQ <= encoding && if (RFB_ENCODING_JPEG_LOWQ <= encoding &&