Skip to content

Commit a32c3a1

Browse files
committed
fix outputting of HEVC level
1 parent 40c4171 commit a32c3a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codec-string",
3-
"version": "0.1.9",
3+
"version": "0.1.11",
44
"description": "decode the codecs= string in a media mime type",
55
"type": "module",
66
"engines": {

src/decode-hevc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export function decodeHEVC(val) {
258258
res.push(error(`unknown Level (${tier[1]})`));
259259
}
260260
if (lev) {
261-
res.push({ decodes: `Level ${lev}` });
261+
res.push(normal(`Level ${lev}`));
262262
coding_params.level = lev;
263263
}
264264
res.push(...constraints);

0 commit comments

Comments
 (0)