From f3765858c590d85738154edc697aa45f2d09f86e Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 14 Oct 2014 20:28:24 +0200 Subject: [PATCH] package/ffmpeg: Enable support for libavresample Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/ffmpeg/Config.in | 5 +++++ package/ffmpeg/ffmpeg.mk | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in index 20d5231fb4..6fde46edb5 100644 --- a/package/ffmpeg/Config.in +++ b/package/ffmpeg/Config.in @@ -49,6 +49,11 @@ config BR2_PACKAGE_FFMPEG_FFSERVER help FFserver is a streaming server for both audio and video. +config BR2_PACKAGE_FFMPEG_AVRESAMPLE + bool "Build libavresample" + help + Avresample is a audio conversion library for compatibility. + config BR2_PACKAGE_FFMPEG_POSTPROC bool "Build libpostproc" depends on BR2_PACKAGE_FFMPEG_GPL diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 0990f1878a..686f50db91 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -98,6 +98,12 @@ else FFMPEG_CONF_OPTS += --disable-ffserver endif +ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y) +FFMPEG_CONF_OPTS += --enable-avresample +else +FFMPEG_CONF_OPTS += --disable-avresample +endif + ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y) FFMPEG_CONF_OPTS += --enable-postproc else