@hyperframes/producer 0.8.201 → 0.8.203

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10632,6 +10632,9 @@ function validatePlanVideosForChunk(value) {
10632
10632
  );
10633
10633
  }
10634
10634
  }
10635
+ function interleavesCapture(overlapping, options) {
10636
+ return overlapping && options?.interleaveCapture === true;
10637
+ }
10635
10638
  var MIN_FRAMES_PER_CHUNK_BROWSER = 20;
10636
10639
  function resolveChunkCaptureWorkers(framesInChunk, machineSized, maxCaptureWorkers) {
10637
10640
  if (maxCaptureWorkers === void 0) return machineSized;
@@ -11109,7 +11112,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
11109
11112
  },
11110
11113
  frameRange: range,
11111
11114
  onFrameLanded: (frame) => overlap.current?.onFrameLanded(frame),
11112
- interleaveFrames: overlap.current !== null
11115
+ interleaveFrames: interleavesCapture(overlap.current !== null, options)
11113
11116
  }).catch(async (captureError) => {
11114
11117
  await overlap.current?.abort();
11115
11118
  overlap.current = null;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "0.1.0",
3
3
  "buildId": "dev",
4
- "sha256": "74fe41f512dcc9c39366e4f48c8d24e6011f5180f122ab1525d210000618830f",
4
+ "sha256": "93402c78fff7cdcf247d971840896d2b0d3380fa1d0901f31618ba6f62160667",
5
5
  "artifacts": {
6
6
  "iife": "hyperframe.runtime.iife.js",
7
7
  "esm": "hyperframe.runtime.mjs"