From 37107bac8d1088f4f541afe99a7c9aea0801e99d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 22 Jul 2024 01:24:23 +0200 Subject: Fix deskto portal capture on nvidia (add missing modifiers) --- src/capture/kms.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/capture/kms.c') diff --git a/src/capture/kms.c b/src/capture/kms.c index c078b90..50fe01a 100644 --- a/src/capture/kms.c +++ b/src/capture/kms.c @@ -232,6 +232,7 @@ static bool hdr_metadata_is_supported_format(const struct hdr_output_metadata *h hdr_metadata->hdmi_metadata_type1.eotf == HDMI_EOTF_SMPTE_ST2084; } +// TODO: Check if this hdr data can be changed after the call to av_packet_side_data_add static void gsr_kms_set_hdr_metadata(gsr_capture_kms *self, AVStream *video_stream, gsr_kms_response_fd *drm_fd) { if(self->hdr_metadata_set) return; -- cgit v1.2.3