Skip to content

Commit 9ad546a

Browse files
authored
Merge pull request #564 from w3c/videocolorspace-nullable
Allow nulls in VideoColorSpaceInit
2 parents a02d2b6 + 091ee65 commit 9ad546a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

index.src.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@
21792179
<dt><dfn dict-member for=VideoEncoderConfig>bitrate</dfn></dt>
21802180
<dd>
21812181
The average bitrate of the encoded video given in units of bits per second.
2182-
2182+
21832183
NOTE: Authors are encouraged to additionally provide a
21842184
{{VideoEncoderConfig/framerate}} to inform rate control.
21852185
</dd>
@@ -3910,7 +3910,7 @@
39103910
subsample for |plane|.
39113911
4. If |rect|.{{DOMRectReadOnly/x}} is not a multiple of |sampleWidth|,
39123912
return `false`.
3913-
5. If |rect|.{{DOMRectReadOnly/y}} is not a multiple of |sampleHeight|,
3913+
5. If |rect|.{{DOMRectReadOnly/y}} is not a multiple of |sampleHeight|,
39143914
return `false`.
39153915
8. Increment |planeIndex| by `1`.
39163916
5. Return `true`.
@@ -4444,10 +4444,10 @@
44444444
};
44454445

44464446
dictionary VideoColorSpaceInit {
4447-
VideoColorPrimaries primaries;
4448-
VideoTransferCharacteristics transfer;
4449-
VideoMatrixCoefficients matrix;
4450-
boolean fullRange;
4447+
VideoColorPrimaries? primaries;
4448+
VideoTransferCharacteristics? transfer;
4449+
VideoMatrixCoefficients? matrix;
4450+
boolean? fullRange;
44514451
};
44524452
</xmp>
44534453

0 commit comments

Comments
 (0)