package/ffmpeg: Enable support for libavresample
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 14 Oct 2014 18:28:24 +0000 (20:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Oct 2014 18:35:07 +0000 (19:35 +0100)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ffmpeg/Config.in
package/ffmpeg/ffmpeg.mk

index 20d5231fb4097af62d71f7f1aa2a5d935c67a97f..6fde46edb5060594267be01e11b64189010accde 100644 (file)
@@ -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
index 0990f1878a9ec881b752ce3dce9c4d2d1130b7b7..686f50db91b6c1ff621d3e55d8c1fbc0b3731493 100644 (file)
@@ -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