aboutsummaryrefslogtreecommitdiff
path: root/kms
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-10 02:38:47 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-10 02:38:47 +0200
commitce5e0169c40cbb5b4ea93efec64fb72408605195 (patch)
treef470f258f56778309c2de2d405d20c71e13cb2ef /kms
parentdddd42690418b1b9aee795cd3fa0deb3eb45c83e (diff)
kms: fix crash on intel when using hevc, remove debug print, remove jpeg color range (incorrect colors on intel h264)
Diffstat (limited to 'kms')
-rw-r--r--kms/client/kms_client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c
index 957e184..1ab9a69 100644
--- a/kms/client/kms_client.c
+++ b/kms/client/kms_client.c
@@ -74,11 +74,9 @@ static int recv_msg_from_server(int server_fd, gsr_kms_response *response) {
struct cmsghdr *cmsg = CMSG_FIRSTHDR(&response_message);
if(cmsg) {
- fprintf(stderr, "got cmsg, %d\n", cmsg->cmsg_type);
if(cmsg->cmsg_type == SCM_RIGHTS) {
int kms_fd = 0;
memcpy(&kms_fd, CMSG_DATA(cmsg), sizeof(int));
- fprintf(stderr, "kms fd: %d\n", kms_fd);
response->data.fd.fd = kms_fd;
}
}