From 3cb26f3b54ea558212ca7c72dfcf9eeb570a8e52 Mon Sep 17 00:00:00 2001 From: hkc Date: Sun, 15 Sep 2024 03:12:15 +0300 Subject: [PATCH] Foxed an oopsie --- video.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/video.lua b/video.lua index ada1ef8..531635d 100644 --- a/video.lua +++ b/video.lua @@ -171,10 +171,9 @@ table.insert(subthreads, function() term.setBackgroundColor(colors.gray) term.clearLine() term.write(string.format("Waiting for frames... (V:%d, A:%d) [ENTER to skip]", #frames, #audio_frames.l)) - if #frames < 60 and #audio_frames.l < n_audio_samples and not wait_until_input then + if #frames > 60 and #audio_frames.l >= n_audio_samples and not wait_until_input then break end - os.sleep(0.25) end playback_locked = false end)