diff --git a/index.src.html b/index.src.html index 847d17b5..448ac303 100644 --- a/index.src.html +++ b/index.src.html @@ -741,7 +741,8 @@ 3. If needed, assign {{VideoDecoder/[[codec implementation]]}} with an implementation supporting |config|. 4. Configure {{VideoDecoder/[[codec implementation]]}} with |config|. - 5. [=queue a task=] to run the following steps: + 5. Assign |config| to {{VideoDecoder/[[active decoder config]]}}. + 6. [=queue a task=] to run the following steps: 1. Assign `false` to {{VideoDecoder/[[message queue blocked]]}}. 2. [=Queue a task=] to [=Process the control message queue=]. 3. Return `"processed"`. @@ -921,7 +922,10 @@ 5. If {{VideoDecoderConfig/colorSpace}} [=map/exists=] in the {{VideoDecoder/[[active decoder config]]}}, assign its value to - |colorSpace|. + |colorSpace|. In that case, User Agents MAY replace `null` members + of |colorSpace| with the corresponding values detected by the codec + implementation. + FIXME: Properly specify the case of `null` members. 6. Assign the values of {{VideoDecoderConfig/rotation}} and {{VideoDecoderConfig/flip}} to |rotation| and |flip| respectively. 7. Let |frame| be the result of running the [=Create a VideoFrame=] @@ -1100,7 +1104,8 @@ 3. If needed, assign {{AudioEncoder/[[codec implementation]]}} with an implementation supporting |config|. 4. Configure {{AudioEncoder/[[codec implementation]]}} with |config|. - 5. [=queue a task=] to run the following steps: + 5. Assign |config| to {{AudioEncoder/[[active encoder config]]}}. + 6. [=queue a task=] to run the following steps: 1. Assign `false` to {{AudioEncoder/[[message queue blocked]]}}. 2. [=Queue a task=] to [=Process the control message queue=]. 3. Return `"processed"`. @@ -1481,7 +1486,8 @@ 3. If needed, assign {{VideoEncoder/[[codec implementation]]}} with an implementation supporting |config|. 4. Configure {{VideoEncoder/[[codec implementation]]}} with |config|. - 5. [=queue a task=] to run the following steps: + 5. Assign |config| to {{VideoEncoder/[[active encoder config]]}}. + 6. [=queue a task=] to run the following steps: 1. Assign `false` to {{VideoEncoder/[[message queue blocked]]}}. 2. [=Queue a task=] to [=Process the control message queue=]. 3. Return `"processed"`.