summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-09-14 17:51:26 +0200
committerwm4 <wm4@nowhere>2012-09-18 21:08:20 +0200
commitf5b8b6ac126d8cef3860db16d3db8e72507a2258 (patch)
treec86a6160cee076d3a632e4d3247e566e8c064390 /configure
parent5617bf483e563aae22100c0ca1d8182f71d4f82d (diff)
downloadmpv-f5b8b6ac126d8cef3860db16d3db8e72507a2258.tar.bz2
mpv-f5b8b6ac126d8cef3860db16d3db8e72507a2258.tar.xz
encode: video encoding now supported using mencoder-like options
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index b77fd13076..8526a5879b 100755
--- a/configure
+++ b/configure
@@ -298,6 +298,7 @@ Installation directories:
Optional features:
--disable-mplayer disable MPlayer compilation [enable]
+ --disable-encoding disable encoding functionality [enable]
--enable-termcap use termcap database for key codes [autodetect]
--enable-termios use termios database for key codes [autodetect]
--disable-iconv disable iconv for encoding conversion [autodetect]
@@ -436,6 +437,7 @@ _prefix="/usr/local"
ffmpeg=auto
ffmpeg_internals=no
_mplayer=yes
+_encoding=yes
_x11=auto
_xshape=auto
_xss=auto
@@ -620,6 +622,8 @@ for ac_option do
--disable-cross-compile) _cross_compile=no ;;
--enable-mplayer) _mplayer=yes ;;
--disable-mplayer) _mplayer=no ;;
+ --enable-encoding) _encoding=yes ;;
+ --disable-encoding) _encoding=no ;;
--enable-x11) _x11=yes ;;
--disable-x11) _x11=no ;;
--enable-xshape) _xshape=yes ;;
@@ -3180,6 +3184,14 @@ else
fi
echores "$_sortsub"
+echocheck "encoding"
+if test "$_encoding" = yes ; then
+ def_encoding="#define CONFIG_ENCODING 1"
+else
+ def_encoding="#undef CONFIG_ENCODING"
+fi
+echores "$_encoding"
+
#############################################################################
@@ -3382,6 +3394,7 @@ X11 = $_x11
XV = $_xv
# FFmpeg
+ENCODING = $_encoding
FFMPEG_INTERNALS = $ffmpeg_internals
FFMPEG_SOURCE_PATH = $_ffmpeg_source
@@ -3599,6 +3612,7 @@ $def_xv
/* FFmpeg */
+$def_encoding
$def_ffmpeg_internals
$def_fast_64bit