freebsd-ports/multimedia/xawtv/files/patch-common::vbi-data.c
Oliver Lehmann 51103f97fa - scantv now scans w/o a failure, but actually doesn't like to find any
station here
- reattach x11/mtt to the build in case it's FreeBSD 5
- bump PORTREVISION
2004-02-10 22:01:43 +00:00

17 lines
576 B
C

--- 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);