aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/args_parser.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2026-08-02 01:11:33 +0200
committerdec05eba <dec05eba@protonmail.com>2026-08-02 01:11:53 +0200
commitd72113be395891f4289f0d86a32a37a99a4d5b38 (patch)
treec2dd74d24fe62d1020be64980b8a321e999bcc29 /include/args_parser.h
parentb38d324c8fcb61b699a16c39fc0dcdb31ad9934b (diff)
Add -ipc option to control gpu-screen-recorder over a unix domain socket
The socket accepts the same commands as the signal handlers, except that saving a replay takes an arbitrary number of seconds instead of only the fixed times that the signals provide. Requests and replies are newline terminated json objects and every request is replied to, parsed with the sj.h json library that was added to external. Requests are handled on a thread that only runs while the recorder exists, so the recorder control fields are now atomics, which they have to be now that another thread writes them.
Diffstat (limited to 'include/args_parser.h')
-rw-r--r--include/args_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/args_parser.h b/include/args_parser.h
index 813d4c6..2954dde 100644
--- a/include/args_parser.h
+++ b/include/args_parser.h
@@ -9,7 +9,7 @@
typedef struct gsr_egl gsr_egl;
-#define NUM_ARGS 38
+#define NUM_ARGS 39
typedef enum {
GSR_CAPTURE_SOURCE_TYPE_WINDOW,