package/libpjsip: add ffmpeg support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020.02.x
Fabrice Fontaine 2020-02-02 21:54:10 +01:00 committed by Thomas Petazzoni
parent 44e53c6b48
commit 4c5e9f8253
1 changed files with 7 additions and 1 deletions

View File

@ -33,7 +33,6 @@ LIBPJSIP_CONF_OPTS = \
--disable-g711-codec \
--disable-l16-codec \
--disable-g722-codec \
--disable-ffmpeg \
--disable-ipp \
--disable-silk \
--with-external-srtp
@ -57,6 +56,13 @@ else
LIBPJSIP_CONF_OPTS += --disable-bcg729
endif
ifeq ($(BR2_PACKAGE_FFMPEG),y)
LIBPJSIP_DEPENDENCIES += ffmpeg
LIBPJSIP_CONF_OPTS += --with-ffmpeg=$(STAGING_DIR)/usr
else
LIBPJSIP_CONF_OPTS += --disable-ffmpeg
endif
ifeq ($(BR2_PACKAGE_LIBGSM),y)
LIBPJSIP_CONF_OPTS += \
--enable-gsm-codec \