lib/pipeline/base.rb in tracksperanto-1.2.0 vs lib/pipeline/base.rb in tracksperanto-1.2.1
- old
+ new
@@ -62,9 +62,10 @@
@progress_block.call(p, m) if @progress_block
end
end
def detect_importer_or_use_options(path, opts)
+ puts opts[:parser].inspect
d = Tracksperanto::FormatDetector.new(path)
if d.match? && d.auto_size?
return [1, 1, d.importer_klass]
elsif d.match?
raise "Width and height must be provided for a #{d.importer_klass}" unless (opts[:pix_w] && opts[:pix_h])
\ No newline at end of file