gui_edit_db lock and disabled lsfg if libc 2.37-

GLIBC version 2.38+ is required for use Lossless Scaling frame generation
This commit is contained in:
Mikhail Tergoev
2025-07-25 12:32:05 +03:00
parent ccd9b166d1
commit e2f1476d90

View File

@ -5469,6 +5469,11 @@ gui_edit_db () {
esac esac
[[ ! -e "/dev/ntsync" ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_NTSYNC" [[ ! -e "/dev/ntsync" ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_NTSYNC"
if [[ $(ldd --version | head -n 1 | awk '{print $4}') < 2.38 ]] ; then
DISABLE_EDIT_DB_LIST+=" PW_USE_LS_FRAME_GEN"
export PW_USE_LS_FRAME_GEN="0"
PW_USE_LS_FRAME_GEN_INFO=${translations[GLIBC version 2.38+ is required for use Lossless Scaling frame generation]}
fi
unset ADD_CHK_BOX_EDIT_DB unset ADD_CHK_BOX_EDIT_DB
for int_to_boole in "${PW_EDIT_DB_LIST[@]}" ; do for int_to_boole in "${PW_EDIT_DB_LIST[@]}" ; do