From 29ce1d91529a4aebdff199999920a5def5f9c56f Mon Sep 17 00:00:00 2001 From: Gurkirpal Singh Date: Wed, 26 Apr 2017 22:52:17 +0530 Subject: [PATCH] config: add OMX.st.audio_decoder.mp3.mad for Bellagio config MP3 Software decoder (libmad based) but useful for testing and to compare with other targets. GST_OMX_CONFIG_DIR=$HOME/gst/master/gst-omx/config/bellagio/ \ gst-launch-1.0 filesrc location=mpthreetest.mp3 ! id3demux ! \ mpegaudioparse ! omxmp3dec ! audioconvert ! pulsesink Didn't add 'local' in core-name path compared to other components in that same gstomx.conf file because OMX.st.audio_decoder.mp3.mad comes with the Ubuntu package 'libomxil-bellagio0-components-mad'. All other components listed in this gstomx.conf for Bellagio, are not provided by any Ubuntu packages. It could explain the 'local', i.e. requiring to build them from source. dpkg -L libomxil-bellagio0 /usr/lib/libomxil-bellagio.so.0 https://bugzilla.gnome.org/show_bug.cgi?id=781786 Signed-off-by: Gurkirpal Singh Signed-off-by: Julien Isorce --- config/bellagio/gstomx.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/bellagio/gstomx.conf b/config/bellagio/gstomx.conf index 5ca8ba6775..ae76c1c0d8 100644 --- a/config/bellagio/gstomx.conf +++ b/config/bellagio/gstomx.conf @@ -33,3 +33,12 @@ rank=0 in-port-index=0 out-port-index=1 hacks=event-port-settings-changed-ndata-parameter-swap + +[omxmp3dec] +type-name=GstOMXMP3Dec +core-name=/usr/lib/libomxil-bellagio.so.0 +component-name=OMX.st.audio_decoder.mp3.mad +rank=0 +in-port-index=0 +out-port-index=1 +hacks=event-port-settings-changed-ndata-parameter-swap;no-component-role;no-disable-outport;drain-may-not-return