Skip to content

Commit

Permalink
deps.ffmpeg: Enable runtime CPU detection for AOM to fix ARM64 crashes
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
PatTheMav authored and RytoEX committed Feb 15, 2024
1 parent 1c5eb1b commit 9cdd1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps.ffmpeg/40-aom.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit 9cdd1de

Please sign in to comment.