ffmpeg: enable libopus support
authorDavid du Colombier <0intro@gmail.com>
Tue, 30 Sep 2014 13:28:05 +0000 (15:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Oct 2014 17:46:41 +0000 (19:46 +0200)
Signed-off-by: David du Colombier <0intro@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ffmpeg/ffmpeg.mk

index 5818db1397ca64f81b85f6e0feab611665f34941..b4b2e568e381cf4d870c3b5dbdf18794573b7f1e 100644 (file)
@@ -215,6 +215,13 @@ else
 FFMPEG_CONF_OPT += --disable-vaapi
 endif
 
+ifeq ($(BR2_PACKAGE_OPUS),y)
+FFMPEG_CONF_OPT += --enable-libopus
+FFMPEG_DEPENDENCIES += opus
+else
+FFMPEG_CONF_OPT += --disable-libopus
+endif
+
 ifeq ($(BR2_PACKAGE_LIBVPX),y)
 FFMPEG_CONF_OPT += --enable-libvpx
 FFMPEG_DEPENDENCIES += libvpx