From 62eea576601dcaef4839bee0a1fab6d748904d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Thu, 16 Mar 2023 13:09:02 +0100 Subject: [PATCH] chore: Fix typos in logs (#5097) --- build/misspellings.txt | 1 + lib/util/stream_utils.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build/misspellings.txt b/build/misspellings.txt index 2516dbf180..926b5952d4 100644 --- a/build/misspellings.txt +++ b/build/misspellings.txt @@ -6,6 +6,7 @@ r'(?i)bandwith': 'bandwidth', r'(?i)cur+ent': 'current', r"(?i)doens?'t": "doesn't", + r'(?i)droping': 'dropping', r'(?i)ful+screen': 'fullscreen', r'(?i)futher': 'further', r'(?i)gene?ra?tor': 'generator', diff --git a/lib/util/stream_utils.js b/lib/util/stream_utils.js index 412fc7210a..bbab005b08 100644 --- a/lib/util/stream_utils.js +++ b/lib/util/stream_utils.js @@ -886,7 +886,7 @@ shaka.util.StreamUtils = class { const video = variant.video; if (audio && currentVariant && currentVariant.audio) { if (!StreamUtils.areStreamsCompatible_(audio, currentVariant.audio)) { - shaka.log.debug('Droping variant - not compatible with active audio', + shaka.log.debug('Dropping variant - not compatible with active audio', 'active audio', StreamUtils.getStreamSummaryString_(currentVariant.audio), 'variant.audio', @@ -897,7 +897,7 @@ shaka.util.StreamUtils = class { if (video && currentVariant && currentVariant.video) { if (!StreamUtils.areStreamsCompatible_(video, currentVariant.video)) { - shaka.log.debug('Droping variant - not compatible with active video', + shaka.log.debug('Dropping variant - not compatible with active video', 'active video', StreamUtils.getStreamSummaryString_(currentVariant.video), 'variant.video',