summaryrefslogtreecommitdiff
path: root/package/ffmpeg
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-10-14 20:28:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-28 19:35:07 +0100
commitf3765858c590d85738154edc697aa45f2d09f86e (patch)
tree1a533065b39541f8f889e7d175baf59fe9717f68 /package/ffmpeg
parent1987e06be0d05fc424c3803385e2d8fb49a47443 (diff)
package/ffmpeg: Enable support for libavresample
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ffmpeg')
-rw-r--r--package/ffmpeg/Config.in5
-rw-r--r--package/ffmpeg/ffmpeg.mk6
2 files changed, 11 insertions, 0 deletions
diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in
index 20d5231fb..6fde46edb 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 0990f1878..686f50db9 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