mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
recording: fix subsequent recordings, reset sample counter to 0
This commit is contained in:
parent
a84c261ff3
commit
d27d021913
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ namespace utils
|
||||||
if (!m_active.exchange(true))
|
if (!m_active.exchange(true))
|
||||||
{
|
{
|
||||||
m_current_encoder_frame = 0;
|
m_current_encoder_frame = 0;
|
||||||
|
m_current_encoder_sample = 0;
|
||||||
m_last_video_pts_incoming = -1;
|
m_last_video_pts_incoming = -1;
|
||||||
m_last_audio_pts_incoming = -1;
|
m_last_audio_pts_incoming = -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue