diff options
-rw-r--r-- | src/main.cpp | 2 | ||||
-rw-r--r-- | src/pipewire.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0a7c32e..39bc64c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1676,7 +1676,7 @@ static void list_supported_capture_options(gsr_egl *egl, bool wayland) { return; char *session_handle = NULL; - if(gsr_dbus_screencast_create_session(&dbus, &session_handle)) { + if(gsr_dbus_screencast_create_session(&dbus, &session_handle) == 0) { free(session_handle); puts("portal"); } diff --git a/src/pipewire.c b/src/pipewire.c index 1828f90..1133ab0 100644 --- a/src/pipewire.c +++ b/src/pipewire.c @@ -9,6 +9,8 @@ #include <fcntl.h> +/* This code is partially based on xr-video-player pipewire implementation which is based on obs-studio's pipewire implementation */ + /* TODO: Make gsr_pipewire_init asynchronous */ /* TODO: Support 10-bit capture (hdr) when pipewire supports it */ /* TODO: Test all of the image formats */ |