diff --git a/lib/encode.sh b/lib/encode.sh index 08ca4b8..585ca51 100644 --- a/lib/encode.sh +++ b/lib/encode.sh @@ -211,7 +211,7 @@ setup_pgs_mkv() { # setup tempdir local ogSup cropSup cropMkv tmpdir - tmpdir="${TMP_DIR}/pgs-${OUTPUT// /.}" + tmpdir="${pgsMkvOut}-dir" recreate_dir "${tmpdir}" || return 1 # get video resolution