summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-19 22:02:09 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-19 22:02:09 +0000
commit8b3e340df99ee06c1d903f5fca3f5cbd65e91676 (patch)
treed1efedd3beb308f571a3b7b1280980a380c1fb78 /configure
parent5e2623cb497a27e3e4a259fefbbcaac5692a6777 (diff)
downloadmpv-8b3e340df99ee06c1d903f5fca3f5cbd65e91676.tar.bz2
mpv-8b3e340df99ee06c1d903f5fca3f5cbd65e91676.tar.xz
new vo driver for ivtv cards tv-out through internal h/w mpeg decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19142 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure29
1 files changed, 29 insertions, 0 deletions
diff --git a/configure b/configure
index fd684923df..634cafc133 100755
--- a/configure
+++ b/configure
@@ -318,6 +318,7 @@ Video output:
--enable-directx build with DirectX support [autodetect]
--enable-dxr2 build with DXR2 render support [autodetect]
--enable-dxr3 build with DXR3/H+ render support [autodetect]
+ --enable-ivtv build with IVTV TV-Out render support [autodetect]
--enable-dvb build with support for output via DVB-Card [autodetect]
--enable-dvbhead build with DVB support (HEAD version) [autodetect]
--enable-mga build with mga_vid (for Matrox G200/G4x0/G550) support
@@ -1597,6 +1598,7 @@ _dvb=auto
_dvbhead=auto
_dxr2=auto
_dxr3=auto
+_ivtv=auto
_iconv=auto
_langinfo=auto
_rtc=auto
@@ -1784,6 +1786,8 @@ for ac_option do
--disable-dxr2) _dxr2=no ;;
--enable-dxr3) _dxr3=yes ;;
--disable-dxr3) _dxr3=no ;;
+ --enable-ivtv) _ivtv=yes ;;
+ --disable-ivtv) _ivtv=no ;;
--enable-iconv) _iconv=yes ;;
--disable-iconv) _iconv=no ;;
--enable-langinfo) _langinfo=yes ;;
@@ -4697,6 +4701,30 @@ fi
echores "$_dxr3"
+echocheck "IVTV TV-Out"
+if test "$_ivtv" = auto ; then
+ cat > $TMPC << EOF
+#include <stdlib.h>
+#include <inttypes.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+#include <linux/ivtv.h>
+int main(void) { return 0; }
+EOF
+ _ivtv=no
+ cc_check && _ivtv=yes
+fi
+if test "$_ivtv" = yes ; then
+ _def_ivtv='#define HAVE_IVTV 1'
+ _vosrc="$_vosrc vo_ivtv.c"
+ _vomodules="ivtv $_vomodules"
+else
+ _def_ivtv='#undef HAVE_IVTV'
+ _novomodules="ivtv $_novomodules"
+fi
+echores "$_ivtv"
+
+
echocheck "libfame"
if test "$_libfame" = auto ; then
_libfame=no
@@ -8207,6 +8235,7 @@ $_def_syncfb
$_def_fbdev
$_def_dxr2
$_def_dxr3
+$_def_ivtv
$_def_dvb
$_def_dvb_in
$_def_svga