summaryrefslogtreecommitdiff
path: root/multimedia/xawtv/files/patch-common::vbi-data.c
blob: 33471b7fde5ee815e7703098fd7772fdf95acef6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- common/vbi-data.c.orig	Tue Feb 10 22:07:49 2004
+++ common/vbi-data.c	Tue Feb 10 22:09:03 2004
@@ -71,8 +71,11 @@
 	vbi->cap = vbi_capture_v4l2_new(dev,16,&services,-1,&vbi->err,debug);
 	if (NULL == vbi->cap) {
 	    vbi->cap = vbi_capture_v4l_new(dev,16,&services,-1,&vbi->err,debug);
-	    if (NULL == vbi->cap)
-		goto oops;
+	    if (NULL == vbi->cap) {
+		vbi->cap = vbi_capture_bktr_new(dev,16,&services,-1,&vbi->err,debug);
+		if (NULL == vbi->cap)
+		    goto oops;
+	    }
 	}
 	vbi->par = vbi_capture_parameters(vbi->cap);
 	vbi->fd = vbi_capture_fd(vbi->cap);