Skip to content

Commit 4c5f018

Browse files
committed
Bump default max height to 2160
1 parent 345d701 commit 4c5f018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subtitles-octopus.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var SubtitlesOctopus = function (options) {
2222
self.targetFps = options.targetFps || 30;
2323
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
2424
self.softHeightLimit = options.softHeightLimit || 1080; // don't apply prescaleTradeoff < 1 when viewport height is less that this limit
25-
self.hardHeightLimit = options.hardHeightLimit || 1600; // don't ever go above this limit
25+
self.hardHeightLimit = options.hardHeightLimit || 2160; // don't ever go above this limit
2626

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

0 commit comments

Comments
 (0)