From 95d8d8a8cbe0f33ca547a8f8b0685ef5621fe34d Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 1 Jun 2020 23:52:29 +0200 Subject: [PATCH] Fix minor issue --- src/ext/lib/ar-detect/ArDetector.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ext/lib/ar-detect/ArDetector.js b/src/ext/lib/ar-detect/ArDetector.js index 4af5875..b0cac70 100644 --- a/src/ext/lib/ar-detect/ArDetector.js +++ b/src/ext/lib/ar-detect/ArDetector.js @@ -713,7 +713,11 @@ class ArDetector { // the aspect ratio to defaults this.logger.log('error', 'arDetect', `%c[ArDetect::frameCheck] There was a problem setting blackbar. Doing nothing. Error:`, e); - this.guardline.reset(); + try { + this.guardline.reset(); + } catch (e) { + // no guardline, no bigge + } // WE DO NOT RESET ASPECT RATIO HERE IN CASE OF PROBLEMS, CAUSES UNWARRANTED RESETS: // (eg. here: https://www.youtube.com/watch?v=nw5Z93Yt-UQ&t=410) //