--- common/vbi-data.c.orig Fri Feb 14 15:14:04 2003 +++ common/vbi-data.c Sun May 2 14:24:56 2004 @@ -68,11 +68,18 @@ close(p[1]); }; } else { - 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; + vbi->cap = NULL; + vbi->proxy = vbi_proxy_client_create(dev,"xawtv/scantv/alevtd",0,&vbi->err,debug); + if (NULL != vbi->proxy) { + vbi->cap = vbi_capture_proxy_new(vbi->proxy,16,0,&services,-1,&vbi->err); + } + if (NULL == vbi->cap) { + vbi->cap = vbi_capture_v4l2_new(dev,16,&services,-1,&vbi->err,debug); + if (NULL == vbi->cap) { + vbi->cap = vbi_capture_v4l_new(dev,0,&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); --- common/vbi-data.h.orig Fri Feb 14 15:14:04 2003 +++ common/vbi-data.h Sun May 2 12:13:23 2004 @@ -7,6 +7,7 @@ #define VBI_MAX_SUBPAGES 64 struct vbi_state { + vbi_proxy_client *proxy; vbi_decoder *dec; vbi_capture *cap; vbi_raw_decoder *par;