Merge pull request #3085 from eric/fix-audio-on-timestamp-jump

libobs: Reset audio data on timestamp jump
master
Jim 2020-07-10 17:35:44 -07:00 committed by GitHub
commit 8b00f7d341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1216,6 +1216,7 @@ static void handle_ts_jump(obs_source_t *source, uint64_t expected, uint64_t ts,
pthread_mutex_lock(&source->audio_buf_mutex);
reset_audio_timing(source, ts, os_time);
reset_audio_data(source, os_time);
pthread_mutex_unlock(&source->audio_buf_mutex);
}