mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
Fix Winamp slow seeking after max length with infinite loop on
This commit is contained in:
parent
46290fe16f
commit
b3478a8f48
@ -1288,7 +1288,7 @@ DWORD WINAPI __stdcall decode(void *arg) {
|
||||
|
||||
/* adjust seeking past file, can happen using the right (->) key
|
||||
* (should be done here and not in SetOutputTime due to threads/race conditions) */
|
||||
if (seek_needed_samples > max_samples) {
|
||||
if (seek_needed_samples > max_samples && !settings.loop_forever) {
|
||||
seek_needed_samples = max_samples;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user