We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c6e3e commit 4ae2011Copy full SHA for 4ae2011
index.src.html
@@ -4137,7 +4137,8 @@
4137
6. Assign a new {{VideoFrameMetadata}} to |frame|.{{VideoFrame/[[metadata]]}}.
4138
4139
: <dfn for=VideoFrame>Parse Rotation</dfn> (with |rotation|)
4140
-:: 1. Let |alignedRotation| be the nearest multiple of `90` to |rotation|.
+:: 1. Let |alignedRotation| be the nearest multiple of `90` to |rotation|,
4141
+ rounding ties towards positive infinity.
4142
2. Let |fullTurns| be the greatest multiple of `360` less than or equal to
4143
|alignedRotation|.
4144
3. Return `|alignedRotation| - |fullTurns|`.
0 commit comments