summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-03-25 09:50:07 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-26 16:52:38 +0100
commit2c5b6b55a09d74619611aa2f38faeb2a9634d6f6 (patch)
tree69d8f8c5643f818533d30173b6def7b9420f33ab
parent355c40fa2fc7d5291cd359387082ccb377ab7d7c (diff)
downloadbuildroot-2c5b6b55a09d74619611aa2f38faeb2a9634d6f6.tar.gz
buildroot-2c5b6b55a09d74619611aa2f38faeb2a9634d6f6.zip
gst1-plugins-base: add opus support
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gstreamer1/gst1-plugins-base/Config.in6
-rw-r--r--package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk7
2 files changed, 13 insertions, 0 deletions
diff --git a/package/gstreamer1/gst1-plugins-base/Config.in b/package/gstreamer1/gst1-plugins-base/Config.in
index b19fa59b92..22541e19ca 100644
--- a/package/gstreamer1/gst1-plugins-base/Config.in
+++ b/package/gstreamer1/gst1-plugins-base/Config.in
@@ -126,6 +126,12 @@ config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG
help
ogg stream manipulation (info about ogg: http://xiph.org)
+config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS
+ bool "opus"
+ select BR2_PACKAGE_OPUS
+ help
+ Opus codec for speech and audio.
+
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO
bool "pango font renderer"
depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
index 9490296480..d7feb7c785 100644
--- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
+++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
@@ -176,6 +176,13 @@ else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS),y)
+GST1_PLUGINS_BASE_CONF_OPTS += --enable-opus
+GST1_PLUGINS_BASE_DEPENDENCIES += opus
+else
+GST1_PLUGINS_BASE_CONF_OPTS += --disable-opus
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-ogg
GST1_PLUGINS_BASE_DEPENDENCIES += libogg
OpenPOWER on IntegriCloud