summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-02-14 21:27:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-02-14 21:27:25 +0000
commitbba9b16c265f7a0ce3a1bc5dbf88d178ebec457a (patch)
tree16024959c1ac83c766f7dd0cf556a5ecaf6c4a19 /configure
parent7d67e968a4ec375257c21e4658d91452aeba9a74 (diff)
moving postprocess to ffmpeg/libavcodec
Originally committed as revision 1586 to svn://svn.ffmpeg.org/ffmpeg/trunk Originally committed as revision 9427 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc Originally committed as revision 9428 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 21 insertions, 0 deletions
diff --git a/configure b/configure
index 559467e228..c40389927a 100755
--- a/configure
+++ b/configure
@@ -60,6 +60,8 @@ mp3lame="no"
vorbis="no"
a52="yes"
a52bin="no"
+pp="yes"
+shared_pp="no"
win32="no"
mingw32="no"
cygwin="no"
@@ -281,6 +283,10 @@ for opt do
;;
--enable-a52bin) a52bin="yes" ; extralibs="$ldl $extralibs"
;;
+ --disable-pp) pp="no"
+ ;;
+ --enable-shared-pp) shared_pp="yes"
+ ;;
--enable-mp3lame) mp3lame="yes"
;;
--enable-vorbis) vorbis="yes"
@@ -578,6 +584,8 @@ echo " --enable-win32 enable win32 cross compile"
echo " --enable-mingw32 enable mingw32 native windows compile"
echo " --disable-a52 disable GPL'ed A52 support [default=no]"
echo " --enable-a52bin open liba52.so.0 at runtime [default=no]"
+echo " --disable-pp disable GPL'ed post processing support [default=no]"
+echo " --enable-shared-pp use libpostproc.so [default=no]"
echo " --enable-shared build shared libraries [default=no]"
echo ""
echo "Advanced options (experts only):"
@@ -631,6 +639,8 @@ echo "mp3lame enabled $mp3lame"
echo "vorbis enabled $vorbis"
echo "a52 support $a52"
echo "a52 dlopened $a52bin"
+echo "pp support $pp"
+echo "shared pp $shared_pp"
echo "Video hooking $vhook"
echo "risky / patent encumbered codecs $risky"
@@ -754,6 +764,17 @@ if test "$a52" = "yes" ; then
fi
fi
+# PP
+if test "$pp" = "yes" ; then
+ echo "#define CONFIG_PP 1" >> $TMPH
+ echo "CONFIG_PP=yes" >> config.mak
+
+ if test "$shared_pp" = "yes" ; then
+ echo "#define SHARED_PP 1" >> $TMPH
+ echo "SHARED_PP=yes" >> config.mak
+ fi
+fi
+
# mpeg audio high precision mode
if test "$mpegaudio_hp" = "yes" ; then
echo "#define CONFIG_MPEGAUDIO_HP 1" >> $TMPH