Skip to content

Commit c7d1025

Browse files
committed
Assign [[format]] in VideoFrame ctor.
This fixes #509.
1 parent 1fd13ab commit c7d1025

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.src.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3592,7 +3592,9 @@
35923592
7. Let |colorSpace| be `undefined`.
35933593
8. If |init|.{{VideoFrameBufferInit/colorSpace}} [=map/exists=], assign its
35943594
value to |colorSpace|.
3595-
9. Assign the result of running the [=VideoFrame/Pick Color Space=]
3595+
9. Assign |init|'s {{VideoFrameBufferInit/format}} to
3596+
{{VideoFrame/[[format]]}}.
3597+
10. Assign the result of running the [=VideoFrame/Pick Color Space=]
35963598
algorithm, with |colorSpace| and {{VideoFrame/[[format]]}}, to
35973599
{{VideoFrame/[[color space]]}}.
35983600
10. Assign the result of calling [=Copy VideoFrame metadata=]

0 commit comments

Comments
 (0)