Skip to main content

PREVIEW_CACHE_FRAMES

Constant PREVIEW_CACHE_FRAMES 

Source
const PREVIEW_CACHE_FRAMES: usize = 24;
Expand description

Decoded-frame cache the seekable stream keeps for scrub locality — enough that a short back-and-forth scrub stays in cache without re-spawning the decoder, far below the 300-frame default (which would pin ~2.5 GB at 1080p for no preview benefit).