diff options
Diffstat (limited to 'package/multimedia/ffmpeg/ffmpeg.mk')
-rw-r--r-- | package/multimedia/ffmpeg/ffmpeg.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/package/multimedia/ffmpeg/ffmpeg.mk b/package/multimedia/ffmpeg/ffmpeg.mk index 4e6924c3d..959efa39b 100644 --- a/package/multimedia/ffmpeg/ffmpeg.mk +++ b/package/multimedia/ffmpeg/ffmpeg.mk @@ -13,8 +13,6 @@ FFMPEG_CONF_OPT = \ --prefix=/usr \ --enable-shared \ --disable-avfilter \ - --disable-postproc \ - --disable-swscale \ --disable-vhook \ ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y) @@ -49,6 +47,18 @@ else FFMPEG_CONF_OPT += --disable-ffserver endif +ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y) +FFMPEG_CONF_OPT += --enable-postproc +else +FFMPEG_CONF_OPT += --disable-postproc +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y) +FFMPEG_CONF_OPT += --enable-swscale +else +FFMPEG_CONF_OPT += --disable-swscale +endif + ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_ENCODERS)),all) FFMPEG_CONF_OPT += --disable-encoders \ $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_ENCODERS)),--enable-encoder=$(x)) |