mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 15:24:19 +00:00
Mirror the HDR-video stacking-query logic for HDR images. Build a hdrImageStartTimes map from composition.images filtered to nativeHdrImageIds, and union those start times with hdrVideoStartTimes when computing uniqueStartTimes for the seek-and-query loop. Without this, an HDR image with `data-start > 0` would never have its layout dimensions recorded in hdrExtractionDims, because the stacking query only ran at HDR-video appearance times. Image-only compositions (no HDR videos) wouldn't query stacking at all.