ffmpeg: enable libvpx support
authorDavid du Colombier <0intro@gmail.com>
Tue, 30 Sep 2014 13:28:04 +0000 (15:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Oct 2014 17:46:32 +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 ae3d4c369551bbbcf9191c97fe267e6eb58e0286..5818db1397ca64f81b85f6e0feab611665f34941 100644 (file)
@@ -215,6 +215,13 @@ else
 FFMPEG_CONF_OPT += --disable-vaapi
 endif
 
+ifeq ($(BR2_PACKAGE_LIBVPX),y)
+FFMPEG_CONF_OPT += --enable-libvpx
+FFMPEG_DEPENDENCIES += libvpx
+else
+FFMPEG_CONF_OPT += --disable-libvpx
+endif
+
 ifeq ($(BR2_X86_CPU_HAS_MMX),y)
 FFMPEG_CONF_OPT += --enable-yasm
 FFMPEG_DEPENDENCIES += host-yasm