aboutsummaryrefslogtreecommitdiff
path: root/src/capture
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-19 23:00:32 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-19 23:00:32 +0200
commit5175feba445db857b258ccee891fe7ae22919de1 (patch)
treed96fa2e57c8f19091227d0f799bc2fcae4276daf /src/capture
parent57b0005d90751e43bcd552ecf3b26309e282cbe8 (diff)
Nicer error damn portal
Diffstat (limited to 'src/capture')
-rw-r--r--src/capture/portal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/capture/portal.c b/src/capture/portal.c
index 9ac30ad..c079357 100644
--- a/src/capture/portal.c
+++ b/src/capture/portal.c
@@ -237,6 +237,7 @@ static int gsr_capture_portal_start(gsr_capture *cap, AVCodecContext *video_code
int pipewire_fd = 0;
uint32_t pipewire_node = 0;
if(!gsr_capture_portal_setup_dbus(self, &pipewire_fd, &pipewire_node)) {
+ fprintf(stderr, "gsr error: gsr_capture_portal_start: desktop portal capture failed. Either you canceled the desktop portal or your Wayland compositor doesn't support desktop portal capture or it's incorrectly setup on your system\n");
gsr_capture_portal_stop(self);
return 50;
}