diff options
Diffstat (limited to 'multimedia/xawtv/files/patch-common__vbi-data.c')
-rw-r--r-- | multimedia/xawtv/files/patch-common__vbi-data.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/multimedia/xawtv/files/patch-common__vbi-data.c b/multimedia/xawtv/files/patch-common__vbi-data.c new file mode 100644 index 000000000000..33471b7fde5e --- /dev/null +++ b/multimedia/xawtv/files/patch-common__vbi-data.c @@ -0,0 +1,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); |