From 463d5b5a25425e7e6ddfe0c6139bff0d2c9e50b6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 11 Feb 2024 17:49:36 +0100 Subject: nvidia wayland: add hdr metadata --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 9dff159..7277b11 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1477,6 +1477,7 @@ static gsr_capture* create_capture_impl(const char *window_str, const char *scre kms_params.egl = &egl; kms_params.display_to_capture = window_str; kms_params.gpu_inf = gpu_inf; + kms_params.hdr = video_codec_is_hdr(video_codec); capture = gsr_capture_kms_cuda_create(&kms_params); if(!capture) _exit(1); -- cgit v1.2.3