This commit is contained in:
2025-09-28 16:47:36 +02:00
parent 32eb037710
commit fb071f95b4
6 changed files with 51 additions and 8 deletions
+3 -4
View File
@@ -341,7 +341,7 @@ void video_background_read(VideoCapture *video_capture, SharedContext *context,
if (pid == 0) {
return;
}
log_info("%s background acquisition started (pid: %d)", video_capture->name,
log_info("(%s) background acquisition started (pid: %d)", video_capture->name,
pid);
timer = timer_init(30);
@@ -355,13 +355,12 @@ void video_background_read(VideoCapture *video_capture, SharedContext *context,
}
}
if (context->stop) {
log_info("%s background acquisition stopped by main thread (pid: %d)",
log_info("(%s) background acquisition stopped by main thread (pid: %d)",
video_capture->name, pid);
} else {
log_info("%s background acquisition stopped after error (pid: %d)",
log_info("(%s) background acquisition stopped after error (pid: %d)",
video_capture->name, pid);
}
window_terminate();
exit(context->stop ? EXIT_SUCCESS : EXIT_FAILURE);
}