w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
937 stars 131 forks source link

In the VideoFrame buffer constructor, init.layout, not options.layout #769

Closed Yahweasel closed 4 months ago

Yahweasel commented 4 months ago

In the steps for the VideoFrame constructor using a buffer, it specifies to use options.layout. But, there is no options; it's init.layout. This is presumably just a typo from copying from copyTo.


Preview | Diff

Yahweasel commented 4 months ago

(This one-word typo fix is probably not a substantive change ;) )

w3cbot commented 4 months ago

dontcallmedom marked as non substantive for IPR from ash-nazg.

padenot commented 4 months ago

Thanks!

Yahweasel commented 4 months ago

Thanks!

Purely selfish, I assure you. Was updating my polyfill and went "... that doesn't seem right..." :)