aboutsummaryrefslogtreecommitdiff
path: root/src/capture/portal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/capture/portal.c')
-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;
}