Skip to content

Commit

Permalink
A control message should always return either "processed" or "not pro…
Browse files Browse the repository at this point in the history
…cessed".

flush() control message didn't return anything. We return "processed".
  • Loading branch information
jyavenard committed Dec 11, 2024
1 parent 41636a6 commit dfea2b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@
2. Remove |promise| from
{{AudioDecoder/[[pending flush promises]]}}.
3. Resolve |promise|.
2. Return `"processed"`.
</dd>

<dt><dfn method for=AudioDecoder>reset()</dfn></dt>
Expand Down Expand Up @@ -829,6 +830,7 @@
2. Remove |promise| from
{{VideoDecoder/[[pending flush promises]]}}.
3. Resolve |promise|.
2. Return `"processed"`.
</dd>

<dt><dfn method for=VideoDecoder>reset()</dfn></dt>
Expand Down Expand Up @@ -1167,6 +1169,7 @@
2. Remove |promise| from
{{AudioEncoder/[[pending flush promises]]}}.
3. Resolve |promise|.
2. Return `"processed"`.
</dd>

<dt><dfn method for=AudioEncoder>reset()</dfn></dt>
Expand Down Expand Up @@ -1542,6 +1545,7 @@
2. Remove |promise| from
{{VideoEncoder/[[pending flush promises]]}}.
3. Resolve |promise|.
2. Return `"processed"`.
</dd>

<dt><dfn method for=VideoEncoder>reset()</dfn></dt>
Expand Down

0 comments on commit dfea2b3

Please sign in to comment.