ffmpeg: enable neon by default for aarch64

This commit is contained in:
MilhouseVH 2017-05-13 07:30:38 +01:00
parent 101e5ba45a
commit 3f08c6ad22

View File

@ -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"