mirror of
https://github.com/codedread/bitjs
synced 2025-10-03 17:49:16 +02:00
1.0.6: Return 'vp9' for the video codec in getFullMIMEString(). Also move the annoying warning in deprecated archive.js.
This commit is contained in:
parent
d3b8765b42
commit
726feee48f
6 changed files with 16 additions and 14 deletions
|
@ -233,8 +233,8 @@ function getVP09CodecString(stream) {
|
|||
}
|
||||
|
||||
// Add LL hex digits.
|
||||
// TODO: ffprobe is spitting out -99 as level... I'm guessing on LL here.
|
||||
if (stream.level === -99) { frag += '.FF'; }
|
||||
// If ffprobe is spitting out -99 as level... Just return 'vp9'.
|
||||
if (stream.level === -99) { return 'vp9'; }
|
||||
else {
|
||||
const levelAsHex = Number(stream.level).toString(16).toUpperCase().padStart(2, '0');
|
||||
if (levelAsHex.length !== 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue