From d27d021913c7e5bb8debbb38a27c0b0df62a64c1 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 17 Nov 2023 22:16:12 +0100 Subject: [PATCH] recording: fix subsequent recordings, reset sample counter to 0 --- rpcs3/util/video_provider.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/util/video_provider.cpp b/rpcs3/util/video_provider.cpp index b6544670d6..046b7d12b0 100644 --- a/rpcs3/util/video_provider.cpp +++ b/rpcs3/util/video_provider.cpp @@ -109,6 +109,7 @@ namespace utils if (!m_active.exchange(true)) { m_current_encoder_frame = 0; + m_current_encoder_sample = 0; m_last_video_pts_incoming = -1; m_last_audio_pts_incoming = -1; }