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 Mar 16, 2023
1 parent 860e9b4 commit 62eea57
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 @@ -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',
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 @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 62eea57

Please sign in to comment.