Mercurial > mplayer.hg
changeset 35610:187738d40b0b
Add support for FFmpeg's libilbc decoder.
author | cehoyos |
---|---|
date | Sat, 22 Dec 2012 11:21:35 +0000 |
parents | 4e76a7f64810 |
children | a4741058bb40 |
files | configure etc/codecs.conf |
diffstat | 2 files changed, 29 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Dec 22 10:53:51 2012 +0000 +++ b/configure Sat Dec 22 11:21:35 2012 +0000 @@ -444,6 +444,7 @@ --disable-ladspa disable LADSPA plugin support [autodetect] --disable-libbs2b disable libbs2b audio filter support [autodetect] --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] + --disable-libilbc disable libilbc decoding support [autodetect] --disable-libopus disable libopus decoding support [autodetect] --disable-mpg123 disable libmpg123 MP3 decoding support [autodetect] --disable-mad disable libmad (MPEG audio) support [autodetect] @@ -769,6 +770,7 @@ _faac_lavc=auto _ladspa=auto _libbs2b=auto +_libilbc=auto _libopus=auto _xmms=no _vcd=auto @@ -1178,6 +1180,8 @@ --disable-ladspa) _ladspa=no ;; --enable-libbs2b) _libbs2b=yes ;; --disable-libbs2b) _libbs2b=no ;; + --enable-libilbc) _libilbc=yes ;; + --disable-libilbc) _libilbc=no ;; --enable-libopus) _libopus=yes ;; --disable-libopus) _libopus=no ;; --enable-xmms) _xmms=yes ;; @@ -6619,6 +6623,23 @@ echores "$_faad" +echocheck "libilbc support" +if test "$_libilbc" = auto; then + _libilbc=no + statement_check ilbc.h 'WebRtcIlbcfix_InitDecode(0, 0, 0);' -lilbc && _libilbc=yes +fi +echores "$_libilbc" +if test "$_libilbc" = yes ; then + def_libilbc='#define CONFIG_LIBILBC 1' + extra_ldflags="$extra_ldflags -lilbc" + libavdecoders="$libavdecoders LIBILBC_DECODER" + codecmodules="ilbc $codecmodules" +else + def_libopenjpeg='#define CONFIG_ILBC 0' + nocodecmodules="ilbc $nocodecmodules" +fi + + echocheck "libopus decoding support" if test "$_libopus" = auto ; then _libopus=no @@ -8681,6 +8702,7 @@ $def_liblzo $def_libmpeg2 $def_libmpeg2_internal +$def_libilbc $def_libopus $def_mad $def_mp3lame
--- a/etc/codecs.conf Sat Dec 22 10:53:51 2012 +0000 +++ b/etc/codecs.conf Sat Dec 22 11:21:35 2012 +0000 @@ -5450,6 +5450,13 @@ driver ffmpeg dll "libopencore_amrwb" +audiocodec libilbc + info "FFmpeg libilbc" + status working + fourcc ilbc + driver ffmpeg + dll libilbc + audiocodec ffadcpmswf info "FFmpeg's ADPCM Flash-variant" status working