Skip to content

Commit 1220f21

Browse files
committed
Addressing review comments
1 parent b8ca480 commit 1220f21

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.src.html

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

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

0 commit comments

Comments
 (0)