From 94a9b1e56f9a0b32fea1ac8ed696285e5717ab0a Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Fri, 18 Dec 2020 01:50:00 +0100 Subject: [PATCH] fix --- src/ext/lib/video-transform/Scaler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext/lib/video-transform/Scaler.js b/src/ext/lib/video-transform/Scaler.js index 552a0e0..0181a36 100644 --- a/src/ext/lib/video-transform/Scaler.js +++ b/src/ext/lib/video-transform/Scaler.js @@ -81,7 +81,7 @@ class Scaler { */ const streamAr = this.conf.video.videoWidth / this.conf.video.videoHeight; const playerAr = this.conf.player.dimensions.width / this.conf.player.dimensions.height; - const compensatedStreamAr = streamAr * this.conf.videoData.getHeightCompensationFactor(); + const compensatedStreamAr = streamAr * this.conf.getHeightCompensationFactor(); let arCorrectionFactor = 1; if (playerAr < compensatedStreamAr) {