about summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-11-03 22:07:59 +0530
committerAndinus <andinus@nand.sh>2021-11-03 22:07:59 +0530
commitc9e3cb29fedcbe7e247d5abfb61bc4f0024ce5f4 (patch)
tree162130a2c5281117ec9b21bdade84846321ce9e7 /lib
parent7aee5a34cf11510c57601803ef267401c90dcf7f (diff)
downloadfornax-c9e3cb29fedcbe7e247d5abfb61bc4f0024ce5f4.tar.gz
Fix log-level usage in ffmpeg, update maze
Diffstat (limited to 'lib')
-rw-r--r--lib/Fornax/CLI.rakumod2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fornax/CLI.rakumod b/lib/Fornax/CLI.rakumod
index 9f6c569..110f587 100644
--- a/lib/Fornax/CLI.rakumod
+++ b/lib/Fornax/CLI.rakumod
@@ -123,7 +123,7 @@ multi sub MAIN(
     put "[fornax] Creating a slideshow." if $verbose;
 
     my Str $log-level = $verbose ?? "info" !! "error";
-    run «ffmpeg -loglevel "$verbose" -r "$frame-rate" -i "$output/\%08d.png"
+    run «ffmpeg -loglevel "$log-level" -r "$frame-rate" -i "$output/\%08d.png"
                 -vcodec libx264 -crf 28 -pix_fmt yuv420p "$output/solution.mp4"»;
     put "[fornax] Output: '$output'";
 }