Skip to content

Commit

Permalink
fix typos in src/main/index.js comments (#4180)
Browse files Browse the repository at this point in the history
  • Loading branch information
suravshresth authored Oct 18, 2023
1 parent 97bed36 commit ccb5247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function runApp() {
app.commandLine.appendSwitch('ignore-gpu-blacklist')

// command line switches need to be added before the app ready event first
// that means we can't use the normal settings system as that is asynchonous,
// that means we can't use the normal settings system as that is asynchronous,
// doing it synchronously ensures that we add it before the event fires
const replaceHttpCache = existsSync(`${app.getPath('userData')}/experiment-replace-http-cache`)
if (replaceHttpCache) {
Expand Down Expand Up @@ -311,7 +311,7 @@ function runApp() {
// For the DASH formats we are fine as video.js doesn't seem to ever request chunks that big.
// The legacy formats don't have any chunk size limits.
// For the audio formats we need to handle it ourselves, as the browser requests the entire audio file,
// which means that for most videos that are loger than 10 mins, we get throttled, as the audio track file sizes surpass that 10MiB limit.
// which means that for most videos that are longer than 10 mins, we get throttled, as the audio track file sizes surpass that 10MiB limit.

// This code checks if the file is larger than the limit, by checking the `clen` query param,
// which YouTube helpfully populates with the content length for us.
Expand Down

0 comments on commit ccb5247

Please sign in to comment.