diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-02-11 17:49:36 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-02-11 17:49:36 +0100 |
commit | 463d5b5a25425e7e6ddfe0c6139bff0d2c9e50b6 (patch) | |
tree | 692b8386ecff8cbb90d5de205328a4bcf939a102 /src/main.cpp | |
parent | 7844785eeff71e8dd427c01a28cf3c491b917127 (diff) |
nvidia wayland: add hdr metadata
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |