This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/xawtv3.git tree:

Subject: x11/xt: Change it to use V4L2 API
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Thu Jan 27 20:14:24 2011 -0200

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 x11/xt.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=7a9fc6e829276c400b593a26564e7b5cdc64909d

diff --git a/x11/xt.c b/x11/xt.c
index f9b0d74..1828577 100644
--- a/x11/xt.c
+++ b/x11/xt.c
@@ -25,7 +25,8 @@
 
 #if defined(__linux__)
 # include <sys/ioctl.h>
-# include "videodev.h"
+#include <linux/types.h>
+# include "videodev2.h"
 #endif
 
 #include "config.h"
@@ -1911,12 +1912,14 @@ int
 x11_vbi_tuned(void)
 {
 #if defined(__linux__)
-    struct video_tuner tuner;
+    struct v4l2_tuner tuner;
 
     if (NULL == x11_vbi)
        return drv->is_tuned(h_drv);
-    memset(&tuner,0,sizeof(tuner));
-    if (-1 != ioctl(x11_vbi->fd,VIDIOCGTUNER,&tuner))
+
+    memset (&tuner, 0, sizeof(tuner));
+
+    if (-1 != ioctl(x11_vbi->fd, VIDIOC_G_TUNER, &tuner))
        return tuner.signal ? 1 : 0;
 #endif
     return drv->is_tuned(h_drv);

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to