lib/pipeline/base.rb in tracksperanto-2.9.9 vs lib/pipeline/base.rb in tracksperanto-2.10.0

- old
+ new

@@ -24,10 +24,10 @@ # The base pipeline is the whole process of track conversion from start to finish. # The pipeline object organizes the import formats, scans them, # applies the middlewares. Here's how a calling sequence for a pipeline looks like: # # pipe = Tracksperanto::Pipeline::Base.new - # pipe.middleware_tuples = ["Golden", {:enabled => true}] + # pipe.middleware_tuples = ["Shift", {:x => 10}] # pipe.progress_block = lambda{|percent, msg| puts("#{msg}..#{percent.to_i}%") } # pipe.run("/tmp/shakescript.shk", :width => 720, :height => 576) # # The pipeline will also automatically allocate output files with the right extensions # at the same place where the original file resides,