mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +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
|
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"
|
FFMPEG_FPU="--disable-neon"
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
|
|
||||||
if [ "$DISPLAYSERVER" = "x11" ]; then
|
if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||||
FFMPEG_X11GRAB="--enable-indev=x11grab_xcb"
|
FFMPEG_X11GRAB="--enable-indev=x11grab_xcb"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user