package/libpjsip: add ffmpeg support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
44e53c6b48
commit
4c5e9f8253
|
@ -33,7 +33,6 @@ LIBPJSIP_CONF_OPTS = \
|
||||||
--disable-g711-codec \
|
--disable-g711-codec \
|
||||||
--disable-l16-codec \
|
--disable-l16-codec \
|
||||||
--disable-g722-codec \
|
--disable-g722-codec \
|
||||||
--disable-ffmpeg \
|
|
||||||
--disable-ipp \
|
--disable-ipp \
|
||||||
--disable-silk \
|
--disable-silk \
|
||||||
--with-external-srtp
|
--with-external-srtp
|
||||||
|
@ -57,6 +56,13 @@ else
|
||||||
LIBPJSIP_CONF_OPTS += --disable-bcg729
|
LIBPJSIP_CONF_OPTS += --disable-bcg729
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_LIBGSM),y)
|
||||||
LIBPJSIP_CONF_OPTS += \
|
LIBPJSIP_CONF_OPTS += \
|
||||||
--enable-gsm-codec \
|
--enable-gsm-codec \
|
||||||
|
|
Loading…
Reference in a new issue