Update update.js

This commit is contained in:
Aleksandr Statciuk 2022-06-09 03:26:04 +03:00
parent 83d9139c2e
commit b4dc7696e5
1 changed files with 3 additions and 2 deletions

View File

@ -137,9 +137,10 @@ function parseMediaInfo(streams) {
} }
function parseFrameRate(r_frame_rate = '0/0') { 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) { function parseStatus(error) {