Own preview and recording workers

This commit is contained in:
2026-06-16 07:18:08 +02:00
parent 4d7a23a1fd
commit 3366b54c7f
8 changed files with 78 additions and 51 deletions

View File

@@ -85,7 +85,7 @@ public:
std::string work_path{ "." };
std::string rec_path{ "." };
std::string tmp_path{ "." };
std::thread rec_thread;
std::jthread rec_thread;
bool rec_running = false;
int rec_count = 0;
std::mutex rec_mutex;