Skip to content

Commit 83a92e4

Browse files
committed
Addressing review comments
1 parent 875bc88 commit 83a92e4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

index.src.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4235,6 +4235,10 @@
42354235
|imageData|.{{ImageData/data}} and |init|.
42364236
8. Return |convertedFrame|.
42374237

4238+
NOTE: User Agents don't have to execute the exact steps of this algorithm
4239+
(e.g. create an {{OffscreenCanvas}}) as long as the {{VideoFrame}} returned by
4240+
the algorithm is equal to the {{VideoFrame}} created via these steps.
4241+
42384242
: <dfn for=VideoFrame>Copy VideoFrame metadata</dfn> (with |metadata|)
42394243
:: 1. Let |metadataCopySerialized| be [$StructuredSerialize$](|metadata|).
42404244
2. Let |metadataCopy| be [$StructuredDeserialize$](|metadataCopySerialized|, [=the current Realm=]).
@@ -4333,7 +4337,7 @@
43334337
{{BGRX}}. If unspecified or `null`, the the destination
43344338
{{BufferSource}} will match {{VideoFrame/format}} .
43354339
: <dfn dict-member for=VideoFrameCopyToOptions>colorSpace</dfn>
4336-
:: A {{PredefinedColorSpace}} that <em class="rfc2119">SHALL</em> be used as
4340+
:: A {{PredefinedColorSpace}} that <em class="rfc2119">MUST</em> be used as
43374341
a target color space for the pixel data in the destination
43384342
{{BufferSource}}, but only if {{VideoFrameCopyToOptions/format}} is one of
43394343
{{RGBA}}, {{RGBX}}, {{BGRA}}, {{BGRX}}, otherwise it is ignored.

0 commit comments

Comments
 (0)