aboutsummaryrefslogtreecommitdiff
path: root/kms
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-24 01:29:30 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-24 01:29:30 +0200
commite107adbc32ebae14e6f0ae49338a95e8d31d9d84 (patch)
tree544b894a3857aee4eef8b23b48c0ff1c0f937100 /kms
parent7d719a44c6ce76ecfc05287d0cbb2b36e84b4ca6 (diff)
Show warning when amd driver adds black bars, set frame resolution after changing video codec context resolution
Diffstat (limited to 'kms')
-rw-r--r--kms/client/kms_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c
index 80bb9cd..d3e68dd 100644
--- a/kms/client/kms_client.c
+++ b/kms/client/kms_client.c
@@ -103,7 +103,7 @@ static int recv_msg_from_server(int server_pid, int server_fd, gsr_kms_response
int status = 0;
int wait_result = waitpid(server_pid, &status, WNOHANG);
if(wait_result != 0) {
- res = 0;
+ res = -1;
break;
}
usleep(1000);