diff --git a/misc/tools.func b/misc/tools.func index b3e078bb6..ea8dfd43f 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1772,6 +1772,7 @@ function setup_ffmpeg() { libx264-dev libx265-dev libvpx-dev libmp3lame-dev libfreetype6-dev libass-dev libopus-dev libvorbis-dev libdav1d-dev libsvtav1-dev zlib1g-dev libnuma-dev + libva-dev libdrm-dev ) ;; *) @@ -1808,6 +1809,7 @@ function setup_ffmpeg() { if [[ "$TYPE" == "full" ]]; then args+=(--enable-libx265 --enable-libdav1d --enable-zlib) + args+=(--enable-vaapi --enable-libdrm) fi if [[ ${#args[@]} -eq 0 ]]; then