Skip to content

Commit

Permalink
chore: Fix typos in comments (shaka-project#5093)
Browse files Browse the repository at this point in the history
Fix typos in comments.
  • Loading branch information
dave-nicholas committed Mar 15, 2023
1 parent e19fa80 commit 6a0124d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build/misspellings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@
r'(?i)varint': 'variant',
r'(?i)asynchronus': 'asynchronous',
r'(?i)deafult': 'default',
r'(?i)evication': 'eviction',
r'(?i)immidiately': 'immediately',
}
4 changes: 2 additions & 2 deletions lib/media/streaming_engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -1611,10 +1611,10 @@ shaka.media.StreamingEngine = class {
'waiting for another stream to recover...');
}

// QuotaExceededError gets thrown if evication didn't help to make room
// QuotaExceededError gets thrown if eviction didn't help to make room
// for a segment. We want to wait for a while (4 seconds is just an
// arbitrary number) before updating to give the playhead a chance to
// advance, so we don't immidiately throw again.
// advance, so we don't immediately throw again.
this.scheduleUpdate_(mediaState, 4);
}

Expand Down

0 comments on commit 6a0124d

Please sign in to comment.