Commit 119a8554 authored by Booloki's avatar Booloki

Use nproc for usable CPU numbers

parent 8b4bdbba
Pipeline #57 passed with stage
in 19 seconds
......@@ -82,7 +82,7 @@ DVD_SIZE_DEFAULT=${DVD_SL_SIZE}
## SYSTEM
PROC_CORE=$(grep ^processor /proc/cpuinfo | wc -l)
PROC_CORE=$(nproc)
# Threads used to encode - "1" for monocore CPU, etc... "$PROC_CORE" (automatic detection) - "auto" only for x264
VIDEO_XVID_THREADS="${PROC_CORE}"
VIDEO_X264_THREADS="auto"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment