From 3e9b59583dff1ed7099cf6b311cc64d3ace9d179 Mon Sep 17 00:00:00 2001 From: iive Date: Fri, 1 Feb 2008 20:14:53 +0000 Subject: Update the test for ivtv output driver. Linux kernel 2.6.24 now includes ivtv, but the vo_ivtv.c fails to compile with it. Test for structures and ioctl()s used in the current driver. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25946 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configure b/configure index dcfb6d5a57..d65376396d 100755 --- a/configure +++ b/configure @@ -4927,7 +4927,7 @@ fi echores "$_dxr3" -echocheck "IVTV TV-Out" +echocheck "IVTV TV-Out (pre linux-2.6.24)" if test "$_ivtv" = auto ; then cat > $TMPC << EOF #include @@ -4935,7 +4935,13 @@ if test "$_ivtv" = auto ; then #include #include #include -int main(void) { return 0; } +#include +int main(void) { +struct ivtv_cfg_stop_decode sd; +struct ivtv_cfg_start_decode sd1; +ioctl (0, IVTV_IOC_START_DECODE, &sd1); +ioctl (0, IVTV_IOC_STOP_DECODE, &sd); +return 0; } EOF _ivtv=no cc_check && _ivtv=yes -- cgit v1.2.3