mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Fix portal being displayed as not supported
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user