Merge branch 'develop-noTranscodeGifs' into 'develop'

Update gif_transcoder.rb

See merge request gab/social/gab-social!42
This commit is contained in:
Developer 2020-01-16 22:57:34 +00:00
commit 9b225dcf36
1 changed files with 1 additions and 1 deletions

View File

@ -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