- From: youennf <notifications@github.com>
- Date: Wed, 15 Dec 2021 01:26:47 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 15 December 2021 09:26:59 UTC
@youennf commented on this pull request. > + // At this point, videoFrame has been transfered within controller.enqueue call. frameCountTransform cannot mutate it. + if (!(++frameCount % 30) && frameCountTransform.onEach30Frame) + frameCountTransform.onEach30Frame(frameCount); + } catch { + videoFrame.close(); + } Right, the explainer refers to https://www.w3.org/TR/webcodecs/#close-videoframe which will be a no-op in practice if you call it more than once. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/1193#discussion_r769427934
Received on Wednesday, 15 December 2021 09:26:59 UTC