mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
ffmpeg: enable neon by default for aarch64
This commit is contained in:
parent
101e5ba45a
commit
3f08c6ad22
@ -68,14 +68,11 @@ case "$TARGET_ARCH" in
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$TARGET_FPU" in
|
||||
neon*)
|
||||
FFMPEG_FPU="--enable-neon"
|
||||
;;
|
||||
*)
|
||||
FFMPEG_FPU="--disable-neon"
|
||||
;;
|
||||
esac
|
||||
if echo "$TARGET_FPU" | grep -q '^neon' || [[ "$TARGET_ARCH" = "aarch64" ]]; then
|
||||
FFMPEG_FPU="--enable-neon"
|
||||
else
|
||||
FFMPEG_FPU="--disable-neon"
|
||||
fi
|
||||
|
||||
if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||
FFMPEG_X11GRAB="--enable-indev=x11grab_xcb"
|
||||
|
Loading…
x
Reference in New Issue
Block a user