Merge pull request #3085 from eric/fix-audio-on-timestamp-jump
libobs: Reset audio data on timestamp jumpmaster
commit
8b00f7d341
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue