aboutsummaryrefslogtreecommitdiff
path: root/src/dbus.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-21 19:12:06 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-21 19:12:06 +0200
commitf9a41041ec3c2f88033f1ec0dd32ed0270b75c2f (patch)
treea783b536336cccf9ad88e8db40ad1bd6a7283e65 /src/dbus.c
parent96e13fcd242917cae4391fca6990c1f7d9d93dae (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.c4
1 files changed, 1 insertions, 3 deletions
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) {