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 esac
case "$TARGET_FPU" in if echo "$TARGET_FPU" | grep -q '^neon' || [[ "$TARGET_ARCH" = "aarch64" ]]; then
neon*) FFMPEG_FPU="--enable-neon"
FFMPEG_FPU="--enable-neon" else
;; FFMPEG_FPU="--disable-neon"
*) fi
FFMPEG_FPU="--disable-neon"
;;
esac
if [ "$DISPLAYSERVER" = "x11" ]; then if [ "$DISPLAYSERVER" = "x11" ]; then
FFMPEG_X11GRAB="--enable-indev=x11grab_xcb" FFMPEG_X11GRAB="--enable-indev=x11grab_xcb"