Commit 92e53953 authored by admin's avatar admin Committed by Developer

Update gif_transcoder.rb

parent f40ff36f
...@@ -20,7 +20,7 @@ module Paperclip ...@@ -20,7 +20,7 @@ module Paperclip
def needs_convert? def needs_convert?
num_frames = identify('-format %n :file', file: file.path).to_i 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 end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment