summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-03-25 09:50:12 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-26 16:56:45 +0100
commit30cde9a31bd40c1872c3b60c9793b852a50fc2cb (patch)
tree8e54d42a8a8effe2d64099d8065207d87e54f4de
parent29dce7c6aef334abfdfbc78730d5aa2edab181af (diff)
downloadbuildroot-30cde9a31bd40c1872c3b60c9793b852a50fc2cb.tar.gz
buildroot-30cde9a31bd40c1872c3b60c9793b852a50fc2cb.zip
gst1-plugins-ugly: add mpg123 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-ugly/Config.in6
-rw-r--r--package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk7
2 files changed, 13 insertions, 0 deletions
diff --git a/package/gstreamer1/gst1-plugins-ugly/Config.in b/package/gstreamer1/gst1-plugins-ugly/Config.in
index fbcb128c22..995835e41a 100644
--- a/package/gstreamer1/gst1-plugins-ugly/Config.in
+++ b/package/gstreamer1/gst1-plugins-ugly/Config.in
@@ -61,6 +61,12 @@ config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MAD
help
mp3 decoding based on the mad library
+config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPG123
+ bool "mpg123 (*.mp3 audio)"
+ select BR2_PACKAGE_MPG123
+ help
+ mp3 decoding based on the mpg123 library
+
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC
bool "mpeg2dec"
select BR2_PACKAGE_LIBMPEG2
diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk
index a45e6708d3..16cfef292a 100644
--- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk
+++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk
@@ -81,6 +81,13 @@ else
GST1_PLUGINS_UGLY_CONF_OPTS += --disable-mad
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPG123),y)
+GST1_PLUGINS_UGLY_CONF_OPTS += --enable-mpg123
+GST1_PLUGINS_UGLY_DEPENDENCIES += mpg123
+else
+GST1_PLUGINS_UGLY_CONF_OPTS += --disable-mpg123
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
GST1_PLUGINS_UGLY_CONF_OPTS += --enable-mpeg2dec
GST1_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
OpenPOWER on IntegriCloud