diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-10 21:32:19 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-10 21:32:19 +0000 |
commit | 60aa2f1a396edb709ee2367fb832fb0b2be753db (patch) | |
tree | e2e247ddf27769df44443ddc8fe6b68f5a4acdf3 /configure | |
parent | b46347bd28bdd5e47b54800aa704f03e252e2994 (diff) | |
download | mpv-60aa2f1a396edb709ee2367fb832fb0b2be753db.tar.bz2 mpv-60aa2f1a396edb709ee2367fb832fb0b2be753db.tar.xz |
added new pvr:// input for ivtv based cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19002 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -221,6 +221,7 @@ Optional features: --disable-tv-v4l disable Video4Linux TV Interface support [autodetect] --disable-tv-v4l2 disable Video4Linux2 TV Interface support [autodetect] --disable-tv-bsdbt848 disable BSD BT848 Interface support [autodetect] + --disable-pvr disable Video4Linux2/IVTV PVR support [autodetect] --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] --disable-network disable network support (for: http/mms/rtp) [enable] --enable-winsock2 enable winsock2 usage [autodetect] @@ -1642,6 +1643,7 @@ _tv=yes _tv_v4l=auto _tv_v4l2=auto _tv_bsdbt848=auto +_pvr=auto _network=yes _winsock2=auto _smbsupport=auto @@ -1877,6 +1879,8 @@ for ac_option do --disable-tv-v4l) _tv_v4l=no ;; --enable-tv-v4l2) _tv_v4l2=yes ;; --disable-tv-v4l2) _tv_v4l2=no ;; + --enable-pvr) _pvr=yes ;; + --disable-pvr) _pvr=no ;; --enable-fastmemcpy) _fastmemcpy=yes ;; --disable-fastmemcpy) _fastmemcpy=no ;; --enable-network) _network=yes ;; @@ -6802,6 +6806,31 @@ fi echores "$_tv_v4l2" +echocheck "Video 4 Linux 2/IVTV PVR interface" +if test "$_pvr" = auto ; then + _pvr=no + if test "$_tv_v4l2" = yes && linux ; 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 + cc_check && _pvr=yes + fi +fi +if test "$_pvr" = yes ; then + _def_pvr='#define HAVE_PVR 1' + _inputmodules="pvr $_inputmodules" +else + _noinputmodules="pvr $_noinputmodules" + _def_pvr='#undef HAVE_PVR' +fi +echores "$_pvr" + + echocheck "audio select()" if test "$_select" = no ; then _def_select='#undef HAVE_AUDIO_SELECT' @@ -7507,6 +7536,7 @@ TV = $_tv TV_V4L = $_tv_v4l TV_V4L2 = $_tv_v4l2 TV_BSDBT848 = $_tv_bsdbt848 +PVR = $_pvr VCD = $_vcd HAVE_DVD = $_have_dvd DVDREAD = $_dvdread @@ -8047,6 +8077,9 @@ $_def_tv_v4l2 /* Enable *BSD BrookTree TV interface support */ $_def_tv_bsdbt848 +/* Enable Video 4 Linux 2/IVTV PVR support */ +$_def_pvr + /* Define if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ $_def_words_endian |