[FFmpeg-cvslog] build: simplify weak-enabling of autodetected libraries

Clément Bœsch git at videolan.org
Sat Sep 2 17:15:50 EEST 2017


ffmpeg | branch: master | Clément Bœsch <cboesch at gopro.com> | Fri Jul 28 13:39:00 2017 +0200| [9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d] | committer: Clément Bœsch

build: simplify weak-enabling of autodetected libraries

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d
---

 configure | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/configure b/configure
index b5e3629db0..fea9f956b8 100755
--- a/configure
+++ b/configure
@@ -3593,21 +3593,9 @@ done
 for lib in $AUTODETECT_LIBS; do
     enabled $lib && request $lib
 done
-
-# Enable platform codecs by default.
-enable_weak audiotoolbox
-
-# Enable hwaccels by default.
-enable_weak crystalhd d3d11va dxva2 vaapi vda vdpau videotoolbox_hwaccel xvmc
-enable_weak xlib libxcb libxcb_shm libxcb_shape libxcb_xfixes
-
-enable_weak cuda cuvid nvenc videotoolbox videotoolbox_encoder
-
-# Enable compression/decompression libraries by default
-enable_weak zlib bzlib lzma
-
-enable_weak iconv
-enable_weak securetransport schannel
+#TODO: switch to $AUTODETECT_LIBS when $THREADS_LIST is supported the same way
+enable_weak $EXTERNAL_AUTODETECT_LIBRARY_LIST
+enable_weak $HWACCEL_AUTODETECT_LIBRARY_LIST
 
 disabled logging && logfile=/dev/null
 



More information about the ffmpeg-cvslog mailing list