Update update.js
This commit is contained in:
parent
83d9139c2e
commit
b4dc7696e5
|
@ -137,9 +137,10 @@ function parseMediaInfo(streams) {
|
|||
}
|
||||
|
||||
function parseFrameRate(r_frame_rate = '0/0') {
|
||||
let parts = r_frame_rate.split('/')
|
||||
const parts = r_frame_rate.split('/')
|
||||
const number = parseInt(parts[0])
|
||||
|
||||
return parseInt(parts[0])
|
||||
return number > 10000 ? number / 1000 : number
|
||||
}
|
||||
|
||||
function parseStatus(error) {
|
||||
|
|
Loading…
Reference in New Issue