mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 22:40:42 +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;
|
return;
|
||||||
|
|
||||||
char *session_handle = NULL;
|
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);
|
free(session_handle);
|
||||||
puts("portal");
|
puts("portal");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
#include <fcntl.h>
|
#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: Make gsr_pipewire_init asynchronous */
|
||||||
/* TODO: Support 10-bit capture (hdr) when pipewire supports it */
|
/* TODO: Support 10-bit capture (hdr) when pipewire supports it */
|
||||||
/* TODO: Test all of the image formats */
|
/* TODO: Test all of the image formats */
|
||||||
|
|||||||
Reference in New Issue
Block a user