package/ffmpeg: add optional support for openjpeg
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f6695c41d3
commit
ee4d8c6d66
@ -53,7 +53,6 @@ FFMPEG_CONF_OPTS = \
|
||||
--disable-libdc1394 \
|
||||
--disable-libgsm \
|
||||
--disable-libilbc \
|
||||
--disable-libopenjpeg \
|
||||
--disable-libvo-amrwbenc \
|
||||
--disable-symver \
|
||||
--disable-doc
|
||||
@ -369,6 +368,13 @@ else
|
||||
FFMPEG_CONF_OPTS += --disable-fontconfig
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENJPEG),y)
|
||||
FFMPEG_CONF_OPTS += --enable-libopenjpeg
|
||||
FFMPEG_DEPENDENCIES += openjpeg
|
||||
else
|
||||
FFMPEG_CONF_OPTS += --disable-libopenjpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_X264)$(BR2_PACKAGE_FFMPEG_GPL),yy)
|
||||
FFMPEG_CONF_OPTS += --enable-libx264
|
||||
FFMPEG_DEPENDENCIES += x264
|
||||
|
Loading…
Reference in New Issue
Block a user