Merge pull request #2 from Cosmic-Skye/fix-encoding-crashes-add-crf

Fix encoding script crashes and add CRF parameter support
This commit is contained in:
2025-06-16 17:43:42 -05:00
committed by GitHub
3 changed files with 29 additions and 12 deletions

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env bash
# Enable extended pattern matching for ?() and +() operators
shopt -s extglob
usage() {
echo "./scripts/build.sh [options]"
echo -e "\th:\tdisplay this help output"
@@ -204,7 +207,7 @@ then
fi
# compilation job count
if commmand -v nproc 2> /dev/null ; then
if command -v nproc 2> /dev/null ; then
THREADS="$(nproc)"
fi