mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-07 15:19:55 +09:00
Fail with exit status 50 if portal setup fails
This commit is contained in:
@@ -238,7 +238,7 @@ static int gsr_capture_portal_start(gsr_capture *cap, AVCodecContext *video_code
|
|||||||
uint32_t pipewire_node = 0;
|
uint32_t pipewire_node = 0;
|
||||||
if(!gsr_capture_portal_setup_dbus(self, &pipewire_fd, &pipewire_node)) {
|
if(!gsr_capture_portal_setup_dbus(self, &pipewire_fd, &pipewire_node)) {
|
||||||
gsr_capture_portal_stop(self);
|
gsr_capture_portal_stop(self);
|
||||||
return -1;
|
return 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "gsr info: gsr_capture_portal_start: setting up pipewire\n");
|
fprintf(stderr, "gsr info: gsr_capture_portal_start: setting up pipewire\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user