From bb998da73946e6e11a478a45322214ef80a56882 Mon Sep 17 00:00:00 2001 From: zii Date: Wed, 9 Oct 2024 20:55:23 -0400 Subject: [PATCH] v3.6.t6 -ffmpeg stall has re-surfaced, not entirely sure what causes it added proper logic that will actually start the restart timer when ffmpeg is running. --- src/common.h | 2 +- src/record_loop.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common.h b/src/common.h index f7d6198..663c135 100644 --- a/src/common.h +++ b/src/common.h @@ -32,7 +32,7 @@ using namespace std; -#define APP_VERSION "3.6.t5" +#define APP_VERSION "3.6.t6" #define APP_NAME "JustMotion" #define APP_TARGET "jmotion" #define DATETIME_FMT "yyyyMMddhhmmss" diff --git a/src/record_loop.cpp b/src/record_loop.cpp index 7942c35..351cb05 100644 --- a/src/record_loop.cpp +++ b/src/record_loop.cpp @@ -120,6 +120,8 @@ void RecordLoop::resetTime() void RecordLoop::restart() { + checkTimer->start(); + if (state() == QProcess::Running) { terminate();