Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,11 @@
failing to release them (or waiting for garbage collection) may cause
decoding to stall.

NOTE: {{VideoDecoder}} requires that frames are output in the order they
expect to be presented, commonly known as presentation order. Some
{{VideoDecoder/[[codec implementation]]}}s may require the User Agent
to reorder outputs into presentation order.

When invoked, run these steps:
1. If {{VideoDecoder/[[state]]}} is not `"configured"`, throw an
{{InvalidStateError}}.
Expand All @@ -637,7 +642,7 @@
3. Queue a task on the [=control thread=] event loop to decrement
{{VideoDecoder/[[decodeQueueSize]]}}
4. Let |decoded outputs| be a [=list=] of decoded video data outputs emitted
by {{VideoDecoder/[[codec implementation]]}}.
by {{VideoDecoder/[[codec implementation]]}} in presentation order.
5. If |decoded outputs| is not empty, queue a task on the [=control thread=]
event loop to run the [=Output VideoFrames=] algorithm with
|decoded outputs|.
Expand Down