From 11a9810a54edeb64dec219c2190583eca07c4299 Mon Sep 17 00:00:00 2001 From: Joseph Kogut Date: Wed, 9 Dec 2020 12:57:51 -0800 Subject: [PATCH] package/ffmpeg: enable libv4l2 when selected Signed-off-by: Joseph Kogut Signed-off-by: Peter Korsgaard --- package/ffmpeg/ffmpeg.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 6b7437411c..fd4a8ab1c4 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -84,6 +84,13 @@ else FFMPEG_CONF_OPTS += --disable-ffplay endif +ifeq ($(BR2_PACKAGE_LIBV4L),y) +FFMPEG_DEPENDENCIES += libv4l +FFMPEG_CONF_OPTS += --enable-libv4l2 +else +FFMPEG_CONF_OPTS += --disable-libv4l2 +endif + ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y) FFMPEG_CONF_OPTS += --enable-avresample else