mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
ebe6df6e33
analyzeKeyframeIntervals short-circuited any video with fewer than 2 detected keyframes to isProblematic:false, maxIntervalSeconds:0 -- the sparsest possible GOP (a single I-frame, or none, covering the entire video) read as healthier than a video with a merely-long-but-finite gap, so the compiler's sparse-keyframe warning silently never fired for the worst case it exists to catch (yt-dlp --download-sections output and screen recordings are common sources of exactly this). 0 or 1 keyframes now reports isProblematic:true with avg/max interval set to +Infinity, consistent with "no keyframe to seek back to at all" being strictly worse than any finite gap. 2+ keyframes are unaffected. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>