Skip to content

Commit 39e92a9

Browse files
authored
Update transcoder.rb
See ruby-av#58
1 parent 0b4b81e commit 39e92a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/paperclip/paperclip_processors/transcoder.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def make
5050
if @meta
5151
log "Transcoding supported file #{@file.path}"
5252
@cli.add_source(@file.path)
53-
@cli.add_destination(dst.path)
5453
@cli.reset_input_filters
5554

5655
if output_is_image?
@@ -71,7 +70,9 @@ def make
7170
end
7271
end
7372
end
74-
73+
74+
@cli.add_destination(dst.path)
75+
7576
begin
7677
@cli.run
7778
log "Successfully transcoded #{@basename} to #{dst}"

0 commit comments

Comments
 (0)