blob: 25635bc5c662bca0ed94be7fd09c94c7ab7a6fdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- MPlayer-1.0rc2/configure~ 2009-10-17 00:08:35.000000000 +0200
+++ MPlayer-1.0rc2/configure 2009-10-17 00:08:35.000000000 +0200
@@ -4965,7 +4965,7 @@
echores "$_dxr3"
-echocheck "IVTV TV-Out"
+echocheck "IVTV TV-Out (pre linux-2.6.24)"
if test "$_ivtv" = auto ; then
cat > $TMPC << EOF
#include <stdlib.h>
@@ -4973,7 +4973,13 @@
#include <linux/types.h>
#include <linux/videodev2.h>
#include <linux/ivtv.h>
-int main(void) { return 0; }
+#include <sys/ioctl.h>
+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
|