From d382b46464da991109f19afc5195dc83350c2b5a Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Tue, 30 Mar 2021 01:11:39 +0200 Subject: [PATCH] Log a lil bit more --- src/ext/lib/video-transform/Resizer.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ext/lib/video-transform/Resizer.ts b/src/ext/lib/video-transform/Resizer.ts index dd5b21c..c649ef5 100644 --- a/src/ext/lib/video-transform/Resizer.ts +++ b/src/ext/lib/video-transform/Resizer.ts @@ -541,8 +541,11 @@ class Resizer { } this.logger.log( - 'info', ['debug', 'resizer'], "[Resizer::_res_computeOffsets] calculated offsets:\n\n", - '---- data in ----', + 'info', ['debug', 'resizer'], "[Resizer::_res_computeOffsets] calculated offsets:", + '\n\n---- elements ----', + '\nplayer element: ', this.conf.player.element, + '\nvideo element: ', this.conf.video, + '\n\n---- data in ----', '\nplayer dimensions: ', {w: this.conf.player.dimensions.width, h: this.conf.player.dimensions.height}, '\nvideo dimensions: ', {w: this.conf.video.offsetWidth, h: this.conf.video.offsetHeight}, '\nreal video dimensions:', {w: realVideoWidth, h: realVideoHeight},