-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.
This commit is contained in:
zii 2024-10-09 20:55:23 -04:00
parent baa6c0f217
commit bb998da739
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -120,6 +120,8 @@ void RecordLoop::resetTime()
void RecordLoop::restart()
{
checkTimer->start();
if (state() == QProcess::Running)
{
terminate();