From 6bbc05a6d83caab4252f8218d1ab8bfccd4a5c54 Mon Sep 17 00:00:00 2001 From: gdrbyko1 Date: Fri, 17 May 2019 21:31:12 +0000 Subject: [PATCH] ffmpeg: enable lavfi virtual input device --- packages/ffmpeg/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/ffmpeg/build.sh b/packages/ffmpeg/build.sh index b7ef9e301..6a4047885 100644 --- a/packages/ffmpeg/build.sh +++ b/packages/ffmpeg/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Tools and libraries to manipulate a wide range of multim TERMUX_PKG_LICENSE="GPL-3.0" # NOTE: mpv has to be rebuilt and version bumped after updating ffmpeg. TERMUX_PKG_VERSION=4.1.3 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=3 TERMUX_PKG_SHA256=0c3020452880581a8face91595b239198078645e7d7184273b8bcc7758beb63d TERMUX_PKG_SRCURL=https://www.ffmpeg.org/releases/ffmpeg-${TERMUX_PKG_VERSION}.tar.xz # libbz2 is used by matroska decoder: @@ -45,7 +45,9 @@ termux_step_configure() { --cc=$CC \ --cxx=$CXX \ --cross-prefix=${TERMUX_HOST_PLATFORM}- \ - --disable-avdevice \ + --disable-indevs \ + --disable-outdevs \ + --enable-indev=lavfi \ --disable-static \ --disable-symver \ --disable-lzma \ @@ -67,4 +69,3 @@ termux_step_configure() { --extra-libs="-landroid-glob" \ $_EXTRA_CONFIGURE_FLAGS } -