libobs: Fix audio offset not reset for all tracks
Track 1 offset is reset but not the offset for other tracks. This caused sync issues in between tracks (with track 1 and others). (bug found by EposVox)
This commit is contained in:
parent
047e586eaf
commit
9b252b1268
@ -1556,7 +1556,7 @@ static void reset_packet_data(obs_output_t *output)
|
||||
output->video_offset = 0;
|
||||
|
||||
for (size_t i = 0; i < MAX_AUDIO_MIXES; i++)
|
||||
output->audio_offsets[0] = 0;
|
||||
output->audio_offsets[i] = 0;
|
||||
|
||||
free_packets(output);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user