File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -295,10 +295,7 @@ final class Gifski {
295295 generator. requestedTimeToleranceBefore = . zero
296296 generator. requestedTimeToleranceAfter = . zero
297297
298- // This improves the performance a little bit.
299- if let dimensions = conversion. dimensions {
300- generator. maximumSize = CGSize ( widthHeight: dimensions. longestSide)
301- }
298+ // We are intentionally not setting a `generator.maximumSize` as it's buggy: https://github.com/sindresorhus/Gifski/pull/278
302299
303300 // Even though we enforce a minimum of 3 FPS in the GUI, a source video could have lower FPS, and we should allow that.
304301 var fps = ( conversion. frameRate. map ( Double . init) ?? assetFrameRate) . clamped ( to: 0.1 ... Constants . allowedFrameRate. upperBound)
You can’t perform that action at this time.
0 commit comments