diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-21 19:12:06 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-21 19:12:06 +0200 |
commit | f9a41041ec3c2f88033f1ec0dd32ed0270b75c2f (patch) | |
tree | a783b536336cccf9ad88e8db40ad1bd6a7283e65 /src/dbus.c | |
parent | 96e13fcd242917cae4391fca6990c1f7d9d93dae (diff) |
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
Diffstat (limited to 'src/dbus.c')
-rw-r--r-- | src/dbus.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) { |