mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2024-11-10 07:27:23 +01:00
making plans and ugly code
This commit is contained in:
parent
e2e1b40d85
commit
2cb38a87e7
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user