fix ffmpeg path

This commit is contained in:
CanbiZ (MickLesk)
2026-04-24 14:21:16 +02:00
parent 2c22e03774
commit bb7b612d5f
2 changed files with 21 additions and 2 deletions

View File

@@ -4014,6 +4014,11 @@ function setup_ffmpeg() {
libdav1d-dev libsvtav1-dev zlib1g-dev libnuma-dev
libva-dev libdrm-dev
)
if apt-cache show libsvtav1enc-dev &>/dev/null; then
DEPS+=(libsvtav1enc-dev)
elif apt-cache show libsvtav1-dev &>/dev/null; then
DEPS+=(libsvtav1-dev)
fi
;;
*)
msg_error "Invalid FFMPEG_TYPE: $TYPE"