mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
With APS5_DUMP_FRAMES, FrameDumpWriter::Enqueue threw "frame dump queue exceeded 64 MiB" when the writer thread fell more than 64 MiB behind, which failed the presentation and ended the title. #4320 made that rare at the default APS5_DUMP_SCALE=4; at APS5_DUMP_SCALE=1 a 1920x1080 title reaches it within nine frames and a 3840x2160 one on the third. Enqueue now waits on the writer's condition variable until the frame fits, and the writer notifies after each file; a single frame larger than the queue still throws. The VideoOut frame dump queue test gets a wait mode at scale 1 whose third frame has to wait for the held first one. Co-Authored-By: Claude Fable 5.1 <[email protected]>