Skip to content

Commit

Permalink
chore: Fix typos in logs (#5097)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored and joeyparrish committed Apr 26, 2023
1 parent d541da7 commit 21b13aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions build/misspellings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
r'(?i)arti?fi?ci?ai?l': 'artificial',
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',
Expand Down
4 changes: 2 additions & 2 deletions lib/util/stream_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,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',
Expand All @@ -832,7 +832,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',
Expand Down

0 comments on commit 21b13aa

Please sign in to comment.