From e7d8e2b245491c0a8e008fb570037506d729ff04 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 May 2023 10:53:04 +0200 Subject: Fix audio transcoding copy --- shared/core-utils/videos/bitrate.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'shared/core-utils') diff --git a/shared/core-utils/videos/bitrate.ts b/shared/core-utils/videos/bitrate.ts index 30d22df09..6be027826 100644 --- a/shared/core-utils/videos/bitrate.ts +++ b/shared/core-utils/videos/bitrate.ts @@ -40,7 +40,7 @@ const maxBitPerPixel: BitPerPixel = { [VideoResolution.H_4K]: 0.14 } -function getAverageBitrate (options: { +function getAverageTheoreticalBitrate (options: { resolution: VideoResolution ratio: number fps: number @@ -51,7 +51,7 @@ function getAverageBitrate (options: { return targetBitrate } -function getMaxBitrate (options: { +function getMaxTheoreticalBitrate (options: { resolution: VideoResolution ratio: number fps: number @@ -62,7 +62,7 @@ function getMaxBitrate (options: { return targetBitrate } -function getMinLimitBitrate (options: { +function getMinTheoreticalBitrate (options: { resolution: VideoResolution ratio: number fps: number @@ -76,9 +76,9 @@ function getMinLimitBitrate (options: { // --------------------------------------------------------------------------- export { - getAverageBitrate, - getMaxBitrate, - getMinLimitBitrate + getAverageTheoreticalBitrate, + getMaxTheoreticalBitrate, + getMinTheoreticalBitrate } // --------------------------------------------------------------------------- -- cgit v1.2.3