Mercurial > mplayer.hg
comparison configure @ 34952:2a982b69303b
Initial libopus decoding support.
author | cehoyos |
---|---|
date | Sun, 22 Jul 2012 21:26:51 +0000 |
parents | b2c0f05a7a5f |
children | 9c4b0bb72197 |
comparison
equal
deleted
inserted
replaced
34951:75c3f928afdd | 34952:2a982b69303b |
---|---|
439 --disable-faac disable support for FAAC (AAC encoder) [autodetect] | 439 --disable-faac disable support for FAAC (AAC encoder) [autodetect] |
440 --disable-faac-lavc disable support for FAAC in libavcodec [autodetect] | 440 --disable-faac-lavc disable support for FAAC in libavcodec [autodetect] |
441 --disable-ladspa disable LADSPA plugin support [autodetect] | 441 --disable-ladspa disable LADSPA plugin support [autodetect] |
442 --disable-libbs2b disable libbs2b audio filter support [autodetect] | 442 --disable-libbs2b disable libbs2b audio filter support [autodetect] |
443 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] | 443 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] |
444 --disable-libopus disable libopus decoding support [autodetect] | |
444 --disable-mpg123 disable libmpg123 MP3 decoding support [autodetect] | 445 --disable-mpg123 disable libmpg123 MP3 decoding support [autodetect] |
445 --disable-mad disable libmad (MPEG audio) support [autodetect] | 446 --disable-mad disable libmad (MPEG audio) support [autodetect] |
446 --disable-mp3lame disable LAME MP3 encoding support [autodetect] | 447 --disable-mp3lame disable LAME MP3 encoding support [autodetect] |
447 --disable-mp3lame-lavc disable LAME in libavcodec [autodetect] | 448 --disable-mp3lame-lavc disable LAME in libavcodec [autodetect] |
448 --disable-toolame disable Toolame (MPEG layer 2) encoding [autodetect] | 449 --disable-toolame disable Toolame (MPEG layer 2) encoding [autodetect] |
756 _faad=auto | 757 _faad=auto |
757 _faac=auto | 758 _faac=auto |
758 _faac_lavc=auto | 759 _faac_lavc=auto |
759 _ladspa=auto | 760 _ladspa=auto |
760 _libbs2b=auto | 761 _libbs2b=auto |
762 _libopus=auto | |
761 _xmms=no | 763 _xmms=no |
762 _vcd=auto | 764 _vcd=auto |
763 _bluray=auto | 765 _bluray=auto |
764 _dvdnav=auto | 766 _dvdnav=auto |
765 _dvdnavconfig=dvdnav-config | 767 _dvdnavconfig=dvdnav-config |
1167 --disable-faac-lavc) _faac_lavc=no ;; | 1169 --disable-faac-lavc) _faac_lavc=no ;; |
1168 --enable-ladspa) _ladspa=yes ;; | 1170 --enable-ladspa) _ladspa=yes ;; |
1169 --disable-ladspa) _ladspa=no ;; | 1171 --disable-ladspa) _ladspa=no ;; |
1170 --enable-libbs2b) _libbs2b=yes ;; | 1172 --enable-libbs2b) _libbs2b=yes ;; |
1171 --disable-libbs2b) _libbs2b=no ;; | 1173 --disable-libbs2b) _libbs2b=no ;; |
1174 --enable-libopus) _libopus=yes ;; | |
1175 --disable-libopus) _libopus=no ;; | |
1172 --enable-xmms) _xmms=yes ;; | 1176 --enable-xmms) _xmms=yes ;; |
1173 --disable-xmms) _xmms=no ;; | 1177 --disable-xmms) _xmms=no ;; |
1174 --enable-vcd) _vcd=yes ;; | 1178 --enable-vcd) _vcd=yes ;; |
1175 --disable-vcd) _vcd=no ;; | 1179 --disable-vcd) _vcd=no ;; |
1176 --enable-bluray) _bluray=yes ;; | 1180 --enable-bluray) _bluray=yes ;; |
6493 codecmodules="faad2 $codecmodules" | 6497 codecmodules="faad2 $codecmodules" |
6494 else | 6498 else |
6495 nocodecmodules="faad2 $nocodecmodules" | 6499 nocodecmodules="faad2 $nocodecmodules" |
6496 fi | 6500 fi |
6497 echores "$_faad" | 6501 echores "$_faad" |
6502 | |
6503 | |
6504 echocheck "libopus decoding support" | |
6505 if test "$_libopus" = auto ; then | |
6506 _libopus=no | |
6507 if $_pkg_config --exists 'opus' ; then | |
6508 statement_check opus_multistream.h 'opus_multistream_decoder_create(0,0,0,0,0,0)' $($_pkg_config --libs --cflags opus) && | |
6509 _libopus=yes | |
6510 fi | |
6511 fi | |
6512 if test "$_libopus" = yes ; then | |
6513 def_libopus='#define CONFIG_LIBOPUS 1' | |
6514 libavdecoders="$libavdecoders LIBOPUS_DECODER" | |
6515 extra_cflags="$extra_cflags $($_pkg_config --cflags opus)" | |
6516 extra_ldflags="$extra_ldflags $($_pkg_config --libs opus)" | |
6517 codecmodules="libopus $codecmodules" | |
6518 else | |
6519 nocodecmodules="libopus $nocodecmodules" | |
6520 def_libopus='#undef CONFIG_LIBOPUS' | |
6521 fi | |
6522 echores "$_libopus" | |
6498 | 6523 |
6499 | 6524 |
6500 echocheck "LADSPA plugin support" | 6525 echocheck "LADSPA plugin support" |
6501 if test "$_ladspa" = auto ; then | 6526 if test "$_ladspa" = auto ; then |
6502 _ladspa=no | 6527 _ladspa=no |
8491 $def_libdca | 8516 $def_libdca |
8492 $def_libdv | 8517 $def_libdv |
8493 $def_liblzo | 8518 $def_liblzo |
8494 $def_libmpeg2 | 8519 $def_libmpeg2 |
8495 $def_libmpeg2_internal | 8520 $def_libmpeg2_internal |
8521 $def_libopus | |
8496 $def_mad | 8522 $def_mad |
8497 $def_mp3lame | 8523 $def_mp3lame |
8498 $def_mp3lame_preset | 8524 $def_mp3lame_preset |
8499 $def_mp3lame_preset_medium | 8525 $def_mp3lame_preset_medium |
8500 $def_mp3lib | 8526 $def_mp3lib |