Skip to content

Commit 8655a06

Browse files
committed
Update Detached slot to link to html spec
Remove also the close video frame specific link now that it is exported in WebCodecs spec
1 parent 607f1d9 commit 8655a06

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.bs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Abstract: {{MediaStreamTrack}}s carrying raw data.
1414
Markup Shorthands: css no, markdown yes
1515
</pre>
1616
<pre class=anchors>
17-
url: https://w3c.github.io/webcodecs/#close-videoframe; text: Close VideoFrame; type: dfn; spec: WEBCODECS
1817
url: https://w3c.github.io/webcodecs/#videoframe; text: VideoFrame; type: interface; spec: WEBCODECS
1918
url: https://w3c.github.io/webcodecs/#videoencoder; text: VideoEncoder; type: interface; spec: WEBCODECS
2019
url: https://streams.spec.whatwg.org/#readablestream-controller; text: [[controller]]; for: ReadableStream; type: dfn; spec: STREAMS
@@ -301,7 +300,7 @@ is accessed for the first time, it MUST be initialized with the following steps:
301300

302301
The <dfn>writeFrame</dfn> algorithm is given a |generator| and a |frame| as input. It is defined by running the following steps:
303302
1. If |frame| is not a {{VideoFrame}} object, return [=a promise rejected with=] a {{TypeError}}.
304-
1. If the value of |frame|’s [[Detached]] internal slot is true, return [=a promise rejected with=] a {{TypeError}}.
303+
1. If the value of |frame|’s {{platform object/[[Detached]]}} internal slot is true, return [=a promise rejected with=] a {{TypeError}}.
305304
1. If |generator|.`[[isMuted]]` is false, send the media data backing |frame| to all live tracks sourced from |generator|.
306305
1. Run the [=Close VideoFrame=] algorithm with |frame|.
307306
1. Return [=a promise resolved with=] undefined.

0 commit comments

Comments
 (0)