Skip to content

Commit

Permalink
Export dfns for valid audio and video decoder cfgs
Browse files Browse the repository at this point in the history
MSE-for-WebCodecs feature specification [1] needs to normatively
reference these concepts.

[1] w3c/media-source#184
  • Loading branch information
wolenetz authored Sep 30, 2021
1 parent 206b991 commit c33f68b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@
};
</xmp>

To check if an {{AudioDecoderConfig}} is a <dfn>valid AudioDecoderConfig</dfn>,
To check if an {{AudioDecoderConfig}} is a <dfn export>valid AudioDecoderConfig</dfn>,
run these steps:
1. If codec is not a <a>valid codec string</a>, return `false`.
2. Return `true`.
Expand Down Expand Up @@ -1724,7 +1724,7 @@
};
</xmp>

To check if a {{VideoDecoderConfig}} is a <dfn>valid VideoDecoderConfig</dfn>,
To check if a {{VideoDecoderConfig}} is a <dfn export>valid VideoDecoderConfig</dfn>,
run these steps:
1. If {{VideoDecoderConfig/codec}} is not a <a>valid codec string</a>, return
`false`.
Expand Down

0 comments on commit c33f68b

Please sign in to comment.