Skip to content

Cellar v1.1.1

Choose a tag to compare

@github-actions github-actions released this 30 Nov 01:01

Two fixes found while building a video editor on Cellar:

  • Cellar loads in an AudioWorklet. Importing the library made a text decoder at once, and an AudioWorklet has none, so a worklet that imported Cellar never registered. Nothing is taken from the host until it is used; a worklet reads a ring from its process() with drain or peek, never a wait.
  • Large frames handed to the browser. VideoFrame.copyTo, GPUQueue.writeTexture and OPFS refuse memory that can grow, and a body larger than a quarter of segmentBytes was placed in memory that can. A body reserved with reserveFlags({ fixed: true }) now always lies in fixed memory, up to a whole segment; one larger is refused at once. A 4K frame needs segments of 32 MiB, not 128 MiB.