mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
ffmpeg: consolidate duplicated config options
Commit 62ab07ef769bd6504fe1db144aaac3fd45db9dad added a bunch of hard-coded options. Some of these options are then again added (or negated) based on kconfig settings. This patch removes the hard coded swscale and postproc settings, as they are enabled or disabled later. It also moves the --disable-pic lower as an else clause to the part that adds --enable-pic. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
547b3bb337
commit
255aab75fc
@ -22,15 +22,12 @@ FFMPEG_CONF_OPT = \
|
|||||||
--disable-debug \
|
--disable-debug \
|
||||||
--disable-version3 \
|
--disable-version3 \
|
||||||
--enable-logging \
|
--enable-logging \
|
||||||
--disable-pic \
|
|
||||||
--enable-optimizations \
|
--enable-optimizations \
|
||||||
--disable-extra-warnings \
|
--disable-extra-warnings \
|
||||||
--disable-ffprobe \
|
--disable-ffprobe \
|
||||||
--enable-avdevice \
|
--enable-avdevice \
|
||||||
--enable-avcodec \
|
--enable-avcodec \
|
||||||
--enable-avformat \
|
--enable-avformat \
|
||||||
--enable-swscale \
|
|
||||||
--enable-postproc \
|
|
||||||
--disable-x11grab \
|
--disable-x11grab \
|
||||||
--enable-network \
|
--enable-network \
|
||||||
--disable-gray \
|
--disable-gray \
|
||||||
@ -311,6 +308,8 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_PREFER_STATIC_LIB),)
|
ifeq ($(BR2_PREFER_STATIC_LIB),)
|
||||||
FFMPEG_CONF_OPT += --enable-pic
|
FFMPEG_CONF_OPT += --enable-pic
|
||||||
|
else
|
||||||
|
FFMPEG_CONF_OPT += --disable-pic
|
||||||
endif
|
endif
|
||||||
|
|
||||||
FFMPEG_CONF_OPT += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF))
|
FFMPEG_CONF_OPT += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user