libobs: Don't clear audio on ts jump (seamless loops)
There's technically no need to clear the audio data here, nor is there any need to try to trick the timestamp in to a different position. It can simple just reset the audio timing. Prevents a possible case where audio data might be deleted when it's not necessary to delete any.
This commit is contained in:
@@ -1162,7 +1162,6 @@ static void source_output_audio_data(obs_source_t *source,
|
||||
diff > MAX_TS_VAR) {
|
||||
reset_audio_timing(source, data->timestamp,
|
||||
os_time);
|
||||
reset_audio_data(source, os_time);
|
||||
in.timestamp = data->timestamp + source->timing_adjust;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user