Update gif_transcoder.rb
This commit is contained in:
parent
f40ff36f1b
commit
92e53953ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user