We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9c741 commit 98783a0Copy full SHA for 98783a0
lib/paperclip/paperclip_processors/transcoder.rb
@@ -56,18 +56,7 @@ def make
56
if output_is_image?
57
@time = @time.call(@meta, @options) if @time.respond_to?(:call)
58
@cli.filter_seek @time
59
-
60
- if @auto_rotate && !@meta[:rotate].nil?
61
- log "Adding rotation #{@meta[:rotate]}"
62
- case @meta[:rotate]
63
- when 90
64
- @convert_options[:output][:vf] = "'transpose=1'"
65
- when 180
66
- @convert_options[:output][:vf] = "'vflip, hflip'"
67
- when 270
68
- @convert_options[:output][:vf] = "'transpose=2'"
69
- end
70
+ @cli.filter_rotate @meta[:rotate] if @auto_rotate && !@meta[:rotate].nil?
71
end
72
73
if @convert_options.present?
0 commit comments