From f9a41041ec3c2f88033f1ec0dd32ed0270b75c2f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 21 Jul 2024 19:12:06 +0200 Subject: Fix HDR capture (HDR metadata is now correct). Note that HDR capture is only available on Wayland and when recording a monitor without the desktop portal option --- src/dbus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dbus.c') diff --git a/src/dbus.c b/src/dbus.c index b67632b..5757b8b 100644 --- a/src/dbus.c +++ b/src/dbus.c @@ -868,9 +868,7 @@ int gsr_dbus_screencast_start(gsr_dbus *self, const char *session_handle, uint32 bool gsr_dbus_screencast_open_pipewire_remote(gsr_dbus *self, const char *session_handle, int *pipewire_fd) { assert(session_handle); *pipewire_fd = -1; - - dict_entry args[1]; - return gsr_dbus_call_screencast_method(self, "OpenPipeWireRemote", session_handle, NULL, args, 0, pipewire_fd, NULL); + return gsr_dbus_call_screencast_method(self, "OpenPipeWireRemote", session_handle, NULL, NULL, 0, pipewire_fd, NULL); } const char* gsr_dbus_screencast_get_restore_token(gsr_dbus *self) { -- cgit v1.2.3