fix a lil bit more
This commit is contained in:
parent
ee9599d040
commit
f1613b950c
@ -270,7 +270,7 @@ squeezeFactor: ${squeezeFactor}`, '\nvideo', this.conf.video);
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const maxSafeStretchFactor = this.conf.resizer.scaler.calculateCrop(maxSafeAr).xFactor;
|
const maxSafeStretchFactor = this.conf.resizer.scaler.calculateCrop({type: AspectRatio.Fixed, ratio: maxSafeAr}).xFactor;
|
||||||
|
|
||||||
console.info('Stretch factors before:', stretchFactors.xFactor, stretchFactors.yFactor, "max safe:", maxSafeStretchFactor, "max safe ar:", maxSafeAr);
|
console.info('Stretch factors before:', stretchFactors.xFactor, stretchFactors.yFactor, "max safe:", maxSafeStretchFactor, "max safe ar:", maxSafeAr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user