Browse code

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@tauware.de>

Reinhard Tartler authored on 2012/01/11 01:52:50
Showing 4 changed files
... ...
@@ -5,6 +5,8 @@ releases are sorted from youngest to oldest.
5 5
 version <next>:
6 6
 
7 7
 - Automatic thread count based on detection number of (available) CPU cores
8
+- Deprecate libpostproc. If desired, the switch --enable-postproc will
9
+  enable it but it may be removed in a later Libav release.
8 10
 
9 11
 
10 12
 version 0.8_beta1:
... ...
@@ -33,7 +33,9 @@
33 33
 #include "libavfilter/avfilter.h"
34 34
 #include "libavdevice/avdevice.h"
35 35
 #include "libswscale/swscale.h"
36
+#if CONFIG_POSTPROC
36 37
 #include "libpostproc/postprocess.h"
38
+#endif
37 39
 #include "libavutil/avstring.h"
38 40
 #include "libavutil/mathematics.h"
39 41
 #include "libavutil/parseutils.h"
... ...
@@ -496,7 +498,9 @@ static void print_all_libs_info(int flags, int level)
496 496
     PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
497 497
     PRINT_LIB_INFO(avfilter, AVFILTER, flags, level);
498 498
     PRINT_LIB_INFO(swscale,  SWSCALE,  flags, level);
499
+#if CONFIG_POSTPROC
499 500
     PRINT_LIB_INFO(postproc, POSTPROC, flags, level);
501
+#endif
500 502
 }
501 503
 
502 504
 void show_banner(void)
... ...
@@ -89,7 +89,7 @@ Configuration options:
89 89
   --disable-avcodec        disable libavcodec build
90 90
   --disable-avformat       disable libavformat build
91 91
   --disable-swscale        disable libswscale build
92
-  --disable-postproc       disable libpostproc build
92
+  --enable-postproc        enable libpostproc build (deprecated) [no]
93 93
   --disable-avfilter       disable video filter support [no]
94 94
   --disable-pthreads       disable pthreads [auto]
95 95
   --disable-w32threads     disable Win32 threads [auto]
... ...
@@ -1680,7 +1680,6 @@ enable avdevice
1680 1680
 enable avfilter
1681 1681
 enable avformat
1682 1682
 enable avutil
1683
-enable postproc
1684 1683
 enable swscale
1685 1684
 
1686 1685
 enable asm
... ...
@@ -6,7 +6,7 @@ libavcodec:  2011-04-18
6 6
 libavdevice: 2011-04-18
7 7
 libavfilter: 2011-04-18
8 8
 libavformat: 2011-04-18
9
-libpostproc: 2011-04-18
9
+libpostproc: 2011-04-18 (deprecated, to be removed later)
10 10
 libswscale:  2011-06-20
11 11
 libavutil:   2011-04-18
12 12