ffmpeg: enable omx
Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
This commit is contained in:
@@ -189,6 +189,13 @@ else
|
||||
FFMPEG_CONF_OPTS += --disable-outdevs
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
|
||||
FFMPEG_CONF_OPTS += --enable-libpulse
|
||||
FFMPEG_DEPENDENCIES += pulseaudio
|
||||
else
|
||||
FFMPEG_CONF_OPTS += --disable-libpulse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
FFMPEG_CONF_OPTS += --enable-pthreads
|
||||
else
|
||||
@@ -285,6 +292,10 @@ ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||
FFMPEG_CONF_OPTS += --enable-mmal --enable-omx --enable-omx-rpi \
|
||||
--extra-cflags=-I$(STAGING_DIR)/usr/include/IL
|
||||
FFMPEG_DEPENDENCIES += rpi-userland
|
||||
else ifeq ($(BR2_PACKAGE_SF_OMX_IL),y)
|
||||
FFMPEG_CONF_OPTS += --disable-mmal --enable-omx --disable-omx-rpi \
|
||||
--extra-cflags=-I$(STAGING_DIR)/usr/include/omx-il
|
||||
FFMPEG_DEPENDENCIES += sf-omx-il
|
||||
else
|
||||
FFMPEG_CONF_OPTS += --disable-mmal --disable-omx --disable-omx-rpi
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user