From 92e53953cefc8652f51fbacf38fc43f7a656fe1a Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 16 Jan 2020 22:57:34 +0000 Subject: [PATCH] Update gif_transcoder.rb --- lib/paperclip/gif_transcoder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/paperclip/gif_transcoder.rb b/lib/paperclip/gif_transcoder.rb index cbab6fd9..05ef7d6e 100644 --- a/lib/paperclip/gif_transcoder.rb +++ b/lib/paperclip/gif_transcoder.rb @@ -20,7 +20,7 @@ module Paperclip def needs_convert? num_frames = identify('-format %n :file', file: file.path).to_i - options[:style] == :original && num_frames > 1 + options[:style] == :original && num_frames > 1000 end end end