lib/bulldog/processor/ffmpeg.rb in bulldog-0.1.0 vs lib/bulldog/processor/ffmpeg.rb in bulldog-0.1.1
- old
+ new
@@ -75,9 +75,10 @@
end
else
output_path = output_file(style.name)
end
+ FileUtils.mkdir_p File.dirname(output_path)
operate '-y', output_path
if block
@still_frame_callbacks << lambda{instance_exec(output_path, &block)}
end
end