summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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