From bb258bb372ee8637a98675adeecb6e775d85133d Mon Sep 17 00:00:00 2001 From: Sverre Skodje Date: Wed, 13 Mar 2024 17:39:44 +0100 Subject: [PATCH] Fix for #286: Recording does not start when stop on paused --- ScreenRecorderLibNative/RecordingManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ScreenRecorderLibNative/RecordingManager.cpp b/ScreenRecorderLibNative/RecordingManager.cpp index 5459144..9373d17 100644 --- a/ScreenRecorderLibNative/RecordingManager.cpp +++ b/ScreenRecorderLibNative/RecordingManager.cpp @@ -310,6 +310,7 @@ HRESULT RecordingManager::BeginRecording(_In_opt_ std::wstring path, _In_opt_ IS m_CaptureManager.reset(nullptr); m_MouseManager.reset(nullptr); m_IsRecording = false; + m_IsPaused = false; REC_RESULT result{ }; try { result = t.get();