Merge branch 'release/3.4.0' into develop

This commit is contained in:
Chocobozzz
2021-10-12 13:50:48 +02:00
12 changed files with 28 additions and 18 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ function calculateBitrate (options: {
for (const toTestResolution of resolutionsOrder) {
if (toTestResolution <= resolution) {
return resolution * resolution * ratio * fps * bitPerPixel[toTestResolution]
return Math.floor(resolution * resolution * ratio * fps * bitPerPixel[toTestResolution])
}
}