Skip to contentSkip to conversation

package/libpjsip: add ffmpeg support

PATCH New Fabrice Fontaine 2 participants 2 messages Feb 2, 2020 – Feb 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libpjsip: add ffmpeg support

---
 package/libpjsip/libpjsip.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
package/libpjsip/libpjsip.mk +7 -1
index 7736a005af..e1c3b511e8 100644
@@ -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 \
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/libpjsip: add ffmpeg support

Quoted 4 lines · On Sun, 2 Feb 2020 21:54:10 +0100 Fabrice Fontaine…
---
 package/libpjsip/libpjsip.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com