[Buildroot] [git commit] package/ffmpeg: add optional support for libvpl
From: Thomas Petazzoni via buildroot <hidden>
Date: 2024-05-09 17:01:16
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=45c4473bbfcd33de4ab3c9c359632417a25680f1 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Added with commit http://git.videolan.org/?p=ffmpeg.git;a=commit;h=7158f1e64d9b76afea78537a35c465447df0cff8 "It will fail to run configure script if both libmfx and libvpl are enabled. It is recommended to use oneVPL for new work, even for currently available hardwares" Signed-off-by: Bernd Kuhls <redacted> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- package/ffmpeg/ffmpeg.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index acd5a7d8b2..87c482656c 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk@@ -321,11 +321,14 @@ else FFMPEG_CONF_OPTS += --disable-libbluray endif -ifeq ($(BR2_PACKAGE_INTEL_MEDIASDK),y) -FFMPEG_CONF_OPTS += --enable-libmfx +ifeq ($(BR2_PACKAGE_LIBVPL),y) +FFMPEG_CONF_OPTS += --enable-libvpl --disable-libmfx +FFMPEG_DEPENDENCIES += libvpl +else ifeq ($(BR2_PACKAGE_INTEL_MEDIASDK),y) +FFMPEG_CONF_OPTS += --disable-libvpl --enable-libmfx FFMPEG_DEPENDENCIES += intel-mediasdk else -FFMPEG_CONF_OPTS += --disable-libmfx +FFMPEG_CONF_OPTS += --disable-libvpl --disable-libmfx endif ifeq ($(BR2_PACKAGE_RTMPDUMP),y)
_______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot