lib/vtools/video.rb in vtools-0.1.0 vs lib/vtools/video.rb in vtools-0.1.1
- old
+ new
@@ -40,16 +40,16 @@
@thumbnailer = Thumbnailer.new self
end
# generate thumbs
def create_thumbs setup = {}
- @thumbs_options = ThumbsOptions.new setup.merge({:aspect => calculated_aspect_ratio})
+ @thumbs_options = ThumbsOptions.new setup
@thumbnailer.run
end
# convert video
def convert setup = {}
- @convert_options = ConvertOptions.new(setup)
+ @convert_options = ConvertOptions.new(setup, {:aspect => calculated_aspect_ratio})
@converter.run
end
# generate video informatioin
def get_info