comparison configure @ 24744:d81eef9beb1b

DirectShow based tv:// driver for win32 Teletext is also supported (but 625 system parameters are hardcoded). pthreads is required for teletext. Code is still experimental.
author voroshil
date Sat, 13 Oct 2007 17:14:39 +0000
parents 8eb925e5e3b7
children dd28474a6db1
comparison
equal deleted inserted replaced
24743:acb856c03bd8 24744:d81eef9beb1b
610 _radio_bsdbt848=auto 610 _radio_bsdbt848=auto
611 _tv=yes 611 _tv=yes
612 _tv_v4l1=auto 612 _tv_v4l1=auto
613 _tv_v4l2=auto 613 _tv_v4l2=auto
614 _tv_bsdbt848=auto 614 _tv_bsdbt848=auto
615 _tv_dshow=auto
615 _tv_teletext=auto 616 _tv_teletext=auto
616 _pvr=auto 617 _pvr=auto
617 _network=yes 618 _network=yes
618 _winsock2=auto 619 _winsock2=auto
619 _smbsupport=auto 620 _smbsupport=auto
973 --disable-tv-bsdbt848) _tv_bsdbt848=no ;; 974 --disable-tv-bsdbt848) _tv_bsdbt848=no ;;
974 --enable-tv-v4l1) _tv_v4l1=yes ;; 975 --enable-tv-v4l1) _tv_v4l1=yes ;;
975 --disable-tv-v4l1) _tv_v4l1=no ;; 976 --disable-tv-v4l1) _tv_v4l1=no ;;
976 --enable-tv-v4l2) _tv_v4l2=yes ;; 977 --enable-tv-v4l2) _tv_v4l2=yes ;;
977 --disable-tv-v4l2) _tv_v4l2=no ;; 978 --disable-tv-v4l2) _tv_v4l2=no ;;
979 --enable-tv-dshow) _tv_dshow=yes ;;
980 --disable-tv-dshow) _tv_dshow=no ;;
978 --enable-tv-teletext) _tv_teletext=yes ;; 981 --enable-tv-teletext) _tv_teletext=yes ;;
979 --disable-tv-teletext) _tv_teletext=no ;; 982 --disable-tv-teletext) _tv_teletext=no ;;
980 --enable-radio) _radio=yes ;; 983 --enable-radio) _radio=yes ;;
981 --enable-radio-capture) _radio_capture=yes ;; 984 --enable-radio-capture) _radio_capture=yes ;;
982 --disable-radio-capture) _radio_capture=no ;; 985 --disable-radio-capture) _radio_capture=no ;;
6803 fi 6806 fi
6804 echores "$_tv_bsdbt848" 6807 echores "$_tv_bsdbt848"
6805 fi #if bsd 6808 fi #if bsd
6806 6809
6807 6810
6811 echocheck "DirectShow TV interface"
6812 if test "$_tv_dshow" = auto ; then
6813 _tv_dshow=no
6814 if test "$_tv" = yes && win32 ; then
6815 cat > $TMPC <<EOF
6816 #include <ole2.h>
6817 int main(void) {
6818 void* p;
6819 CoCreateInstance((GUID*)&GUID_NULL, NULL, CLSCTX_INPROC_SERVER, &GUID_NULL, &p);
6820 return 0;
6821 }
6822 EOF
6823 cc_check -lole32 -luuid && _tv_dshow=yes
6824 fi
6825 fi
6826 if test "$_tv_dshow" = yes ; then
6827 _inputmodules="tv-dshow $_inputmodules"
6828 _def_tv_dshow='#define HAVE_TV_DSHOW 1'
6829 _ld_extra="$_ld_extra -lole32 -luuid"
6830 else
6831 _noinputmodules="tv-dshow $_noinputmodules"
6832 _def_tv_dshow='#undef HAVE_TV_DSHOW'
6833 fi
6834 echores "$_tv_dshow"
6835
6836
6808 echocheck "Video 4 Linux TV interface" 6837 echocheck "Video 4 Linux TV interface"
6809 if test "$_tv_v4l1" = auto ; then 6838 if test "$_tv_v4l1" = auto ; then
6810 _tv_v4l1=no 6839 _tv_v4l1=no
6811 if test "$_tv" = yes && linux ; then 6840 if test "$_tv" = yes && linux ; then
6812 cat > $TMPC <<EOF 6841 cat > $TMPC <<EOF
6857 6886
6858 6887
6859 echocheck "TV teletext interface" 6888 echocheck "TV teletext interface"
6860 if test "$_tv_teletext" = auto ; then 6889 if test "$_tv_teletext" = auto ; then
6861 _tv_teletext=no 6890 _tv_teletext=no
6862 if test "$_freetype" = yes && test "$_pthreads" = yes ; then 6891 if test "$_freetype" = yes && test "$_pthreads" = yes; then
6863 if test "$_tv_v4l2" = yes || test "$_v4l" = yes ; then 6892 if test "$_tv_v4l2" = yes || test "$_v4l" = yes || test "$_tv_dshow" = yes; then
6864 _tv_teletext=yes 6893 _tv_teletext=yes
6865 fi 6894 fi
6866 fi 6895 fi
6867 fi 6896 fi
6868 if test "$_tv_teletext" = yes ; then 6897 if test "$_tv_teletext" = yes ; then
7619 APPLE_REMOTE = $_apple_remote 7648 APPLE_REMOTE = $_apple_remote
7620 TV = $_tv 7649 TV = $_tv
7621 TV_V4L = $_tv_v4l 7650 TV_V4L = $_tv_v4l
7622 TV_V4L1 = $_tv_v4l1 7651 TV_V4L1 = $_tv_v4l1
7623 TV_V4L2 = $_tv_v4l2 7652 TV_V4L2 = $_tv_v4l2
7653 TV_DSHOW = $_tv_dshow
7624 TV_BSDBT848 = $_tv_bsdbt848 7654 TV_BSDBT848 = $_tv_bsdbt848
7625 TV_TELETEXT = $_tv_teletext 7655 TV_TELETEXT = $_tv_teletext
7626 AUDIO_INPUT = $_audio_input 7656 AUDIO_INPUT = $_audio_input
7627 PVR = $_pvr 7657 PVR = $_pvr
7628 VCD = $_vcd 7658 VCD = $_vcd
8165 $_def_tv_v4l1 8195 $_def_tv_v4l1
8166 8196
8167 /* Enable Video 4 Linux 2 TV interface support */ 8197 /* Enable Video 4 Linux 2 TV interface support */
8168 $_def_tv_v4l2 8198 $_def_tv_v4l2
8169 8199
8200 /* Enable DirectShow TV interface support */
8201 $_def_tv_dshow
8202
8170 /* *BSD BrookTree headers */ 8203 /* *BSD BrookTree headers */
8171 $_def_ioctl_meteor_h_name 8204 $_def_ioctl_meteor_h_name
8172 $_def_ioctl_bt848_h_name 8205 $_def_ioctl_bt848_h_name
8173 8206
8174 /* Enable *BSD BrookTree TV interface support */ 8207 /* Enable *BSD BrookTree TV interface support */