This commit is contained in:
Marc Beninca 2025-01-13 07:44:14 +01:00
parent 53f8c5d91c
commit 6d9f366e8a
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 10 additions and 10 deletions

View file

@ -111,9 +111,9 @@ rwx_ffmpeg_output_video_slow() {
[ -n "${codec}" ] || codec="libx264" [ -n "${codec}" ] || codec="libx264"
if [ -z "${crm}" ]; then if [ -z "${crm}" ]; then
case "${codec}" in case "${codec}" in
"libx264") crf="23" ;; "libx264") crf="23" ;;
"libx265") crf="28" ;; "libx265") crf="28" ;;
*) ;; *) ;;
esac esac
fi fi
set -- \ set -- \

View file

@ -7,14 +7,14 @@ rwx_doc() {
for module in $(rwx_find_shell "${RWX_ROOT_SYSTEM}"); do for module in $(rwx_find_shell "${RWX_ROOT_SYSTEM}"); do
while read -r line; do while read -r line; do
case "${line}" in case "${line}" in
"#"*) doc="${doc}${line}" ;; "#"*) doc="${doc}${line}" ;;
"${name}() {") "${name}() {")
echo "${doc}" echo "${doc}"
return return
;; ;;
*) doc="" ;; *) doc="" ;;
esac esac
done < "${RWX_ROOT_SYSTEM}/${module}" done <"${RWX_ROOT_SYSTEM}/${module}"
done done
rwx_ifs_unset rwx_ifs_unset
} }