From 7a1d70b7b60aab14f9ac374b443eaf974bcc089b Mon Sep 17 00:00:00 2001 From: kean Date: Thu, 20 Jul 2023 18:22:38 -0400 Subject: [PATCH] Adjust GIF buffer limits --- WordPress/Classes/Utility/Media/GIFPlaybackStrategy.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WordPress/Classes/Utility/Media/GIFPlaybackStrategy.swift b/WordPress/Classes/Utility/Media/GIFPlaybackStrategy.swift index c2d6d670db75..4a4f80a16a50 100644 --- a/WordPress/Classes/Utility/Media/GIFPlaybackStrategy.swift +++ b/WordPress/Classes/Utility/Media/GIFPlaybackStrategy.swift @@ -69,12 +69,12 @@ class SmallGIFPlaybackStrategy: GIFPlaybackStrategy { class MediumGIFPlaybackStrategy: GIFPlaybackStrategy { var maxSize = 20_000_000 // in MB - var frameBufferCount = 150 + var frameBufferCount = 50 var gifStrategy: GIFStrategy = .mediumGIFs } class LargeGIFPlaybackStrategy: GIFPlaybackStrategy { var maxSize = 50_000_000 // in MB - var frameBufferCount = 300 + var frameBufferCount = 50 var gifStrategy: GIFStrategy = .largeGIFs }