Skip to content

Commit

Permalink
Bump default max height to 2160
Browse files Browse the repository at this point in the history
Cherry-picked from: jellyfin@4c5f018
  • Loading branch information
JustAMan authored and dmitrylyzo committed Oct 6, 2021
1 parent f2c1fea commit 35efbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subtitles-octopus.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var SubtitlesOctopus = function (options) {
self.targetFps = options.targetFps || 30;
self.prescaleTradeoff = options.prescaleTradeoff || 1.0; // render subtitles less than viewport when less than 1.0 to improve speed, render to more than 1.0 to improve quality
self.softHeightLimit = options.softHeightLimit || 1080; // don't apply prescaleTradeoff < 1 when viewport height is less that this limit
self.hardHeightLimit = options.hardHeightLimit || 1600; // don't ever go above this limit
self.hardHeightLimit = options.hardHeightLimit || 2160; // don't ever go above this limit

self.renderAhead = options.renderAhead || 0; // how many MiB to render ahead and store; 0 to disable (approximate)
self.isOurCanvas = false; // (internal) we created canvas and manage it
Expand Down

0 comments on commit 35efbb9

Please sign in to comment.