Files
Lightningbeam/lightningbeam-ui/lightningbeam-editor/src
Skyler Lehmkuhl f1fba186c1 video: decode at the consumer's target resolution (Stage 1)
The decoder's output size was frozen to the document size at import, and export
reused that decoder — so exporting above document res upscaled the video (real
source detail discarded) and a document resize never re-targeted the decode.

Decode size is now chosen per get_frame call: VideoDecoder::get_frame and
VideoManager::get_frame take a target (w, h), capped to native (never upscale),
with the swscale context and frame caches keyed on the output size so preview
(preview res) and an in-progress export (export res) don't collide. The renderer
derives the target from the document->output base_transform, so export decodes
at export res (full detail) and the canvas at preview res. Thumbnails/asset
library pass small targets.
2026-06-26 00:36:35 -04:00
..
2026-03-11 10:58:30 -04:00
2026-02-16 19:12:21 -05:00
2026-06-21 16:48:59 -04:00
2026-03-06 07:22:50 -05:00
2025-11-18 00:22:28 -05:00
2026-06-21 16:48:59 -04:00
2026-06-02 13:41:10 -04:00
2026-06-21 16:48:59 -04:00
2026-06-21 16:48:59 -04:00