making plans and ugly code

This commit is contained in:
ablwr 2014-07-06 10:19:20 -04:00
parent e2e1b40d85
commit 2cb38a87e7

View File

@ -25,11 +25,18 @@ class Generate
def video_input def video_input
#TODO deny gracefully if not . format #TODO deny gracefully if not . format
# if nil, mandelbrot # if nil, mandelbrot
if input[:video_input] == ""
"mandelbrot"
else
"-i #{input[:video_input]}" "-i #{input[:video_input]}"
end end
end
def video_output def video_output
#TODO deny gracefully if not . format #TODO deny gracefully if not . format
if input[:video_input] == ""
"new_video.mp4"
else
input[:video_output] input[:video_output]
end end