aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-19 22:55:31 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-19 22:55:31 +0200
commit57b0005d90751e43bcd552ecf3b26309e282cbe8 (patch)
tree8b253b78c0b9fb6cf48369918d2c657244103347 /src
parent637d306a243e83c797f4a818cb0342d9af564843 (diff)
Fail with exit status 50 if portal setup fails
Diffstat (limited to 'src')
-rw-r--r--src/capture/portal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/portal.c b/src/capture/portal.c
index aa73cd0..9ac30ad 100644
--- a/src/capture/portal.c
+++ b/src/capture/portal.c
@@ -238,7 +238,7 @@ static int gsr_capture_portal_start(gsr_capture *cap, AVCodecContext *video_code
uint32_t pipewire_node = 0;
if(!gsr_capture_portal_setup_dbus(self, &pipewire_fd, &pipewire_node)) {
gsr_capture_portal_stop(self);
- return -1;
+ return 50;
}
fprintf(stderr, "gsr info: gsr_capture_portal_start: setting up pipewire\n");