Run gpu screen recorder as a child process, show notification on start/stop

This commit is contained in:
dec05eba
2024-08-02 01:23:48 +02:00
parent 495bd6bed8
commit b094002c5b
3 changed files with 108 additions and 73 deletions

View File

@@ -12,5 +12,7 @@ namespace gsr {
// Arguments ending with NULL
bool exec_program_daemonized(const char **args);
// Arguments ending with NULL
pid_t exec_program(const char **args);
bool is_gpu_screen_recorder_running(pid_t &gsr_pid, GsrMode &mode);
}