aboutsummaryrefslogtreecommitdiff
path: root/kms
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-21 15:43:19 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-21 15:43:19 +0200
commiteddb07ac408fe80af0ffd88e85880f813c57642a (patch)
tree0039022efb2d145d2c7e2a757135dba954f3c14e /kms
parentff6d46871387ebae99904602b51d619f8d6ae957 (diff)
Revert recent time framing and performance changes as it affects slower devices badly
Diffstat (limited to 'kms')
-rw-r--r--kms/client/kms_client.c4
-rw-r--r--kms/server/kms_server.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c
index d3e68dd..468e3a6 100644
--- a/kms/client/kms_client.c
+++ b/kms/client/kms_client.c
@@ -400,7 +400,7 @@ int gsr_kms_client_replace_connection(gsr_kms_client *self) {
}
if(response.version != GSR_KMS_PROTOCOL_VERSION) {
- fprintf(stderr, "gsr error: gsr_kms_client_replace_connection: expected gsr-kms-server protocol version to be %u, but it's %u\n", GSR_KMS_PROTOCOL_VERSION, response.version);
+ fprintf(stderr, "gsr error: gsr_kms_client_replace_connection: expected gsr-kms-server protocol version to be %u, but it's %u. please reinstall gpu screen recorder\n", GSR_KMS_PROTOCOL_VERSION, response.version);
/*close_fds(response);*/
return -1;
}
@@ -435,7 +435,7 @@ int gsr_kms_client_get_kms(gsr_kms_client *self, gsr_kms_response *response) {
}
if(response->version != GSR_KMS_PROTOCOL_VERSION) {
- fprintf(stderr, "gsr error: gsr_kms_client_get_kms: expected gsr-kms-server protocol version to be %u, but it's %u\n", GSR_KMS_PROTOCOL_VERSION, response->version);
+ fprintf(stderr, "gsr error: gsr_kms_client_get_kms: expected gsr-kms-server protocol version to be %u, but it's %u. please reinstall gpu screen recorder\n", GSR_KMS_PROTOCOL_VERSION, response->version);
/*close_fds(response);*/
strcpy(response->err_msg, "mismatching protocol version");
return -1;
diff --git a/kms/server/kms_server.c b/kms/server/kms_server.c
index 0c1085e..c6460ad 100644
--- a/kms/server/kms_server.c
+++ b/kms/server/kms_server.c
@@ -528,7 +528,7 @@ int main(int argc, char **argv) {
}
if(request.version != GSR_KMS_PROTOCOL_VERSION) {
- fprintf(stderr, "kms server error: expected gpu screen recorder protocol version to be %u, but it's %u\n", GSR_KMS_PROTOCOL_VERSION, request.version);
+ fprintf(stderr, "kms server error: expected gpu screen recorder protocol version to be %u, but it's %u. please reinstall gpu screen recorder\n", GSR_KMS_PROTOCOL_VERSION, request.version);
/*
if(request.new_connection_fd > 0)
close(request.new_connection_fd);