1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

recording: fix subsequent recordings, reset sample counter to 0

This commit is contained in:
Megamouse 2023-11-17 22:16:12 +01:00
parent a84c261ff3
commit d27d021913

View File

@ -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;
}