From 8a225528a1b26b59475fb780977ed241f5f23269 Mon Sep 17 00:00:00 2001 From: 4DBug Date: Sat, 31 Oct 2026 10:06:25 -0500 Subject: [PATCH] ws-video: VP8 checks are strict now (inter frames merged); writer fixtures include the VP8 re-encodes --- tests/video/_common.luau | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/video/_common.luau b/tests/video/_common.luau index ebc4b6b..e8aaae7 100644 --- a/tests/video/_common.luau +++ b/tests/video/_common.luau @@ -100,10 +100,6 @@ function C.frames(t: any, v: any, c: any, label: string, minPsnr: number?) while true do local f, err = v:nextFrame() if not f then - if err and err.code == F.Err.UNSUPPORTED and string.find(err.message, "inter frames", 1, true) then - t:note("%s: TODO inter frames not decodable yet", label) -- TEMP until ws/video-vp8 merges - return - end t:check(err == nil, label .. ": decode error " .. tostring(err)) break end @@ -182,11 +178,7 @@ function C.seek(t: any, v: any, c: any, label: string, at: number) at = math.floor(v.duration * 50) / 100 end v:seek(at) - local f, ferr = v:nextFrame() - if not f and ferr and string.find(ferr.message, "inter frames", 1, true) then - v:reset() - return -- TEMP until ws/video-vp8 merges - end + local f = v:nextFrame() t:check(f ~= nil and f.pts >= at - 1e-6 and f.pts < at + 0.2, label .. ": seek to " .. at .. " lands at " .. tostring(f and f.pts)) if f and C.EXACT[v.codec] and c.frames then local idx = math.floor(f.pts * v.frameRate + 0.5) + 1