[MPlayer-dev-eng] [PATCH]Disable libopencore* by default

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Sep 18 20:10:01 CEST 2011


Hi!

It could be argued that ProRes decoding is more important than decoding AMR 
through libopencore.

Please comment, Carl Eugen
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 34111)
+++ configure	(working copy)
@@ -426,8 +426,8 @@
   --disable-libmpeg2        disable libmpeg2 [autodetect]
   --disable-libmpeg2-internal disable builtin libmpeg2 [autodetect]
   --enable-musepack         enable libmpcdec support (deprecated in favour of libavcodec) [disabled]
-  --disable-libopencore_amrnb disable libopencore_amr narrowband [autodetect]
-  --disable-libopencore_amrwb disable libopencore_amr wideband [autodetect]
+  --enable-libopencore_amrnb autodetect libopencore_amr narrowband [disabled]
+  --enable-libopencore_amrwb autodetect libopencore_amr wideband [disabled]
   --disable-libopenjpeg     disable OpenJPEG (JPEG 2000) input/output support [autodetect]
   --disable-crystalhd       disable CrystalHD support [autodetect]
   --disable-decoder=DECODER disable specified FFmpeg decoder
@@ -630,8 +630,8 @@
 ffmpeg_a=auto
 ffmpeg_so=auto
 _libavcodec_mpegaudio_hp=yes
-_libopencore_amrnb=auto
-_libopencore_amrwb=auto
+_libopencore_amrnb=no
+_libopencore_amrwb=no
 libopenjpeg=auto
 libavdecoders_all=$(sed -n 's/^[^#]*DEC.*(.*, *\(.*\)).*/\1_decoder/p' ffmpeg/libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]')
 libavdecoders=$(echo $libavdecoders_all | sed -e 's/ LIB[A-Z0-9_]*_DECODER//g' -e s/PRORES_DECODER//)
@@ -1236,9 +1236,9 @@
   --disable-libvpx-lavc)  _libvpx_lavc=no   ;;
   --enable-libnut)      _libnut=yes     ;;
   --disable-libnut)     _libnut=no      ;;
-  --enable-libopencore_amrnb)   _libopencore_amrnb=yes  ;;
+  --enable-libopencore_amrnb)   _libopencore_amrnb=auto ;;
   --disable-libopencore_amrnb)  _libopencore_amrnb=no   ;;
-  --enable-libopencore_amrwb)   _libopencore_amrwb=yes  ;;
+  --enable-libopencore_amrwb)   _libopencore_amrwb=auto ;;
   --disable-libopencore_amrwb)  _libopencore_amrwb=no   ;;
   --enable-decoder=*)  libavdecoders="$libavdecoders $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;;
   --disable-decoder=*) libavdecoders=$(echo $libavdecoders | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;;


More information about the MPlayer-dev-eng mailing list