From 9cdd1de6fdc585a09efa8a9af7773ccce048da79 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Fri, 9 Feb 2024 21:45:11 +0100 Subject: [PATCH] deps.ffmpeg: Enable runtime CPU detection for AOM to fix ARM64 crashes Runtime CPU detection in AOM has been extended to properly detect ARM64 CPUs and enable NEON features if possible - disabling the runtime detection has been found to lead to crashes when attempting to record using AOM on Apple Silicon Macs. --- deps.ffmpeg/40-aom.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps.ffmpeg/40-aom.zsh b/deps.ffmpeg/40-aom.zsh index 6f3b6c756..c9defe4fe 100644 --- a/deps.ffmpeg/40-aom.zsh +++ b/deps.ffmpeg/40-aom.zsh @@ -69,7 +69,7 @@ config() { ) case ${target} { - macos-*) args+=(-DCONFIG_RUNTIME_CPU_DETECT=0 -DCMAKE_TOOLCHAIN_FILE="build/cmake/toolchains/${target_config[cmake_arch]}-macos.cmake") ;; + macos-*) args+=(-DCMAKE_TOOLCHAIN_FILE="build/cmake/toolchains/${target_config[cmake_arch]}-macos.cmake") ;; windows-x*) args+=(-DCMAKE_TOOLCHAIN_FILE="build/cmake/toolchains/${target_config[cmake_arch]}-mingw-gcc.cmake") }