package/ffmpeg: enable libv4l2 when selected

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Joseph Kogut 2020-12-09 12:57:51 -08:00 committed by Peter Korsgaard
parent cbb0483f98
commit 11a9810a54

View File

@ -84,6 +84,13 @@ else
FFMPEG_CONF_OPTS += --disable-ffplay FFMPEG_CONF_OPTS += --disable-ffplay
endif 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) ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y)
FFMPEG_CONF_OPTS += --enable-avresample FFMPEG_CONF_OPTS += --enable-avresample
else else