[vlc-commits] omxil: enable support of mp3, vorbis and wma

Hugues Fruchet git at videolan.org
Thu Jan 10 16:24:55 CET 2013


vlc | branch: master | Hugues Fruchet <hugues.fruchet at st.com> | Wed Dec 19 14:24:16 2012 +0100| [2b101ff4a0464f10b7748ca065dcbfd2b3173f08] | committer: Rafaël Carré

omxil: enable support of mp3, vorbis and wma

Update audio_format_table to allow selection of OMX
components which support mp3, vorbis or wma role.

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b101ff4a0464f10b7748ca065dcbfd2b3173f08
---

 modules/codec/omxil/utils.c |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/codec/omxil/utils.c b/modules/codec/omxil/utils.c
index 50ab576..eec75af 100644
--- a/modules/codec/omxil/utils.c
+++ b/modules/codec/omxil/utils.c
@@ -299,6 +299,13 @@ static const struct
     { VLC_CODEC_AMR_WB, OMX_AUDIO_CodingAMR, "audio_decoder.amr" },
     { VLC_CODEC_MP4A,   OMX_AUDIO_CodingAAC, "audio_decoder.aac" },
     { VLC_CODEC_S16N,   OMX_AUDIO_CodingPCM, "audio_decoder.pcm" },
+    { VLC_CODEC_MP3,    OMX_AUDIO_CodingMP3, "audio_decoder.mp3" },
+    { VLC_CODEC_MPGA,   OMX_AUDIO_CodingMP3, "audio_decoder.mp3" },
+    { VLC_CODEC_VORBIS, OMX_AUDIO_CodingVORBIS, "audio_decoder.vorbis" },
+    { VLC_CODEC_WMA1,   OMX_AUDIO_CodingWMA, "audio_decoder.wma" },
+    { VLC_CODEC_WMA2,   OMX_AUDIO_CodingWMA, "audio_decoder.wma" },
+    { VLC_CODEC_WMAP,   OMX_AUDIO_CodingWMA, "audio_decoder.wma" },
+    { VLC_CODEC_WMAL,   OMX_AUDIO_CodingWMA, "audio_decoder.wma" },
     { 0, 0, 0 }
 };
 



More information about the vlc-commits mailing list