From c33f68baa46e88bf2e3bdbbc1464c952056da768 Mon Sep 17 00:00:00 2001 From: Matt Wolenetz Date: Thu, 30 Sep 2021 16:47:26 -0700 Subject: [PATCH] Export dfns for valid audio and video decoder cfgs MSE-for-WebCodecs feature specification [1] needs to normatively reference these concepts. [1] https://github.com/w3c/media-source/issues/184 --- index.src.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.src.html b/index.src.html index 88b5eecb..1077479f 100644 --- a/index.src.html +++ b/index.src.html @@ -1682,7 +1682,7 @@ }; -To check if an {{AudioDecoderConfig}} is a valid AudioDecoderConfig, +To check if an {{AudioDecoderConfig}} is a valid AudioDecoderConfig, run these steps: 1. If codec is not a valid codec string, return `false`. 2. Return `true`. @@ -1724,7 +1724,7 @@ }; -To check if a {{VideoDecoderConfig}} is a valid VideoDecoderConfig, +To check if a {{VideoDecoderConfig}} is a valid VideoDecoderConfig, run these steps: 1. If {{VideoDecoderConfig/codec}} is not a valid codec string, return `false`.