fix
This commit is contained in:
parent
769ff6aace
commit
94a9b1e56f
@ -81,7 +81,7 @@ class Scaler {
|
|||||||
*/
|
*/
|
||||||
const streamAr = this.conf.video.videoWidth / this.conf.video.videoHeight;
|
const streamAr = this.conf.video.videoWidth / this.conf.video.videoHeight;
|
||||||
const playerAr = this.conf.player.dimensions.width / this.conf.player.dimensions.height;
|
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;
|
let arCorrectionFactor = 1;
|
||||||
if (playerAr < compensatedStreamAr) {
|
if (playerAr < compensatedStreamAr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user