Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
youennf authored Sep 6, 2023
1 parent 1225eea commit 9263641
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webcodecs/video-decoder.https.any.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ const validButUnsupportedConfigs = [
comment: 'Ambiguous codec',
config: {codec: 'vp9'},
},
{
comment: 'Codec with bad casing',
config: {codec: 'Vp09.00.10.08'},
},
{
comment: 'Codec with MIME type',
config: {codec: 'video/webm; codecs="vp8"'},
Expand Down
8 changes: 8 additions & 0 deletions webcodecs/video-encoder-config.https.any.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ const validButUnsupportedConfigs = [
height: 480,
},
},
{
comment: 'Codec with bad casing',
config: {
codec: 'vP8',
width: 640,
height: 480,
},
},
{
comment: 'Width is too large',
config: {
Expand Down

0 comments on commit 9263641

Please sign in to comment.