Update update.js

This commit is contained in:
Aleksandr Statciuk 2022-06-09 04:01:36 +03:00
parent 9f9cb8f636
commit 9a67c1db52
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ function parseFrameRate(frame_rate = '0/0') {
const parts = frame_rate.split('/')
const number = parseInt(parts[0]) / parseInt(parts[1])
return Math.round(number * 100) / 100
return number > 0 ? Math.round(number * 100) / 100 : 0
}
function parseStatus(error) {