Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/paperclip/paperclip_processors/transcoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def make
if @meta
log "Transcoding supported file #{@file.path}"
@cli.add_source(@file.path)
@cli.add_destination(dst.path)
@cli.reset_input_filters

if output_is_image?
Expand All @@ -71,6 +70,8 @@ def make
end
end
end

@cli.add_destination(dst.path)

begin
@cli.run
Expand Down
2 changes: 1 addition & 1 deletion paperclip-av-transcoder.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "coveralls"

spec.add_dependency "paperclip", ">=2.5.2"
spec.add_dependency "kt-paperclip", ">= 6.4.1"
spec.add_dependency "av", "~> 0.9.0"
end