[libav-commits] No longer build libpostproc by default

Reinhard Tartler git at libav.org
Wed Jan 11 09:28:33 CET 2012


Module: libav
Branch: master
Commit: 014f8d8106c47e2d557c4c7645e82b4e67ac75b0

Author:    Reinhard Tartler <siretart at tauware.de>
Committer: Reinhard Tartler <siretart at tauware.de>
Date:      Tue Jan 10 17:52:50 2012 +0100

No longer build libpostproc by default

update documentation to inform developers that it may be removed in a
later release.

Signed-off-by: Reinhard Tartler <siretart at tauware.de>

---

 Changelog      |    2 ++
 cmdutils.c     |    4 ++++
 configure      |    3 +--
 doc/APIchanges |    2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/Changelog b/Changelog
index b098203..4714ca7 100644
--- a/Changelog
+++ b/Changelog
@@ -5,6 +5,8 @@ releases are sorted from youngest to oldest.
 version <next>:
 
 - Automatic thread count based on detection number of (available) CPU cores
+- Deprecate libpostproc. If desired, the switch --enable-postproc will
+  enable it but it may be removed in a later Libav release.
 
 
 version 0.8_beta1:
diff --git a/cmdutils.c b/cmdutils.c
index 1b8f1dd..f2e3490 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -33,7 +33,9 @@
 #include "libavfilter/avfilter.h"
 #include "libavdevice/avdevice.h"
 #include "libswscale/swscale.h"
+#if CONFIG_POSTPROC
 #include "libpostproc/postprocess.h"
+#endif
 #include "libavutil/avstring.h"
 #include "libavutil/mathematics.h"
 #include "libavutil/parseutils.h"
@@ -496,7 +498,9 @@ static void print_all_libs_info(int flags, int level)
     PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
     PRINT_LIB_INFO(avfilter, AVFILTER, flags, level);
     PRINT_LIB_INFO(swscale,  SWSCALE,  flags, level);
+#if CONFIG_POSTPROC
     PRINT_LIB_INFO(postproc, POSTPROC, flags, level);
+#endif
 }
 
 void show_banner(void)
diff --git a/configure b/configure
index 9bf65d2..526aa77 100755
--- a/configure
+++ b/configure
@@ -89,7 +89,7 @@ Configuration options:
   --disable-avcodec        disable libavcodec build
   --disable-avformat       disable libavformat build
   --disable-swscale        disable libswscale build
-  --disable-postproc       disable libpostproc build
+  --enable-postproc        enable libpostproc build (deprecated) [no]
   --disable-avfilter       disable video filter support [no]
   --disable-pthreads       disable pthreads [auto]
   --disable-w32threads     disable Win32 threads [auto]
@@ -1680,7 +1680,6 @@ enable avdevice
 enable avfilter
 enable avformat
 enable avutil
-enable postproc
 enable swscale
 
 enable asm
diff --git a/doc/APIchanges b/doc/APIchanges
index 622e502..e94c656 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -6,7 +6,7 @@ libavcodec:  2011-04-18
 libavdevice: 2011-04-18
 libavfilter: 2011-04-18
 libavformat: 2011-04-18
-libpostproc: 2011-04-18
+libpostproc: 2011-04-18 (deprecated, to be removed later)
 libswscale:  2011-06-20
 libavutil:   2011-04-18
 



More information about the libav-commits mailing list