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 <gurkirpal204@gmail.com>
Signed-off-by: Julien Isorce <jisorce@oblong.com>
This commit is contained in:
Gurkirpal Singh 2017-04-26 22:52:17 +05:30 committed by Julien Isorce
parent e805954f5c
commit 29ce1d9152

View file

@ -33,3 +33,12 @@ rank=0
in-port-index=0 in-port-index=0
out-port-index=1 out-port-index=1
hacks=event-port-settings-changed-ndata-parameter-swap 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