From 851f0e0e84aa6e4f124f5afcdd33c6da1d32df03 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 31 Jan 2021 00:58:43 +0100 Subject: [PATCH] fix pt 2 --- src/ext/lib/video-transform/Stretcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext/lib/video-transform/Stretcher.js b/src/ext/lib/video-transform/Stretcher.js index 477539f..3b19ddb 100644 --- a/src/ext/lib/video-transform/Stretcher.js +++ b/src/ext/lib/video-transform/Stretcher.js @@ -270,7 +270,7 @@ squeezeFactor: ${squeezeFactor}`, '\nvideo', this.conf.video); return; } - const maxSafeStretchFactor = this.conf.resizer.stretcher.calculateCrop(maxSafeAr).xFactor; + const maxSafeStretchFactor = this.conf.resizer.scaler.calculateCrop(maxSafeAr).xFactor; console.info('Stretch factors before:', stretchFactors.xFactor, stretchFactors.yFactor, "max safe:", maxSafeStretchFactor, "max safe ar:", maxSafeAr);