From 5175feba445db857b258ccee891fe7ae22919de1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 19 Jul 2024 23:00:32 +0200 Subject: Nicer error damn portal --- src/capture/portal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/capture') 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; } -- cgit v1.2.3