mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 16:37:32 +00:00
* fix(engine): read playlists in linear time and bound the whole walk The trailing-blank trim and the ffconcat file pattern backtracked, so one very long line took quadratic time on the event loop. Both are now single scans. A line longer than ffmpeg reads (4095 bytes) refuses the list before it is parsed, and the walk refuses past 16 MiB of list text or 50,000 entries across all nested lists. * test(engine): playlist walks finish in milliseconds and stop at their budget Covers a single 8 MiB line in both list shapes, the 4095-byte line limit, ffconcat file lines read as before, and the entry and byte budgets across nested lists. * refactor(engine): keep the playlist parser at its comment share