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',