aboutsummaryrefslogtreecommitdiffstats
path: root/console
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-04-01 09:24:40 (GMT)
committerGerd Hoffmann <kraxel@redhat.com>2010-04-01 09:24:40 (GMT)
commite99e58b6d385a8ae806a97b88ec4dbb26c898619 (patch)
tree0abfa3103a07f01938548f1881f32e58079316d9 /console
parent602289d4a5303d666ae9eda87fb12c0ea0225c13 (diff)
v3.82
Diffstat (limited to 'console')
-rw-r--r--console/fbtv.c2
-rw-r--r--console/scantv.c2
-rw-r--r--console/streamer.c2
-rw-r--r--console/ttv.c2
-rw-r--r--console/webcam.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/console/fbtv.c b/console/fbtv.c
index aa57b46..9c4e868 100644
--- a/console/fbtv.c
+++ b/console/fbtv.c
@@ -519,7 +519,7 @@ grabber_init(void)
screen.width = fb_var.xres_virtual;
screen.height = fb_var.yres_virtual;
screen.bytesperline = fb_fix.line_length;
- drv = ng_vid_open(ng_dev.video,&screen,0,&h_drv);
+ drv = ng_vid_open(ng_dev.video,NULL,&screen,0,&h_drv);
if (NULL == drv) {
fprintf(stderr,"no grabber device available\n");
exit(1);
diff --git a/console/scantv.c b/console/scantv.c
index d1e0cf1..a33ee06 100644
--- a/console/scantv.c
+++ b/console/scantv.c
@@ -34,7 +34,7 @@ char *tvname;
static void
grabber_init(void)
{
- drv = ng_vid_open(ng_dev.video,NULL,0,&h_drv);
+ drv = ng_vid_open(ng_dev.video,NULL,NULL,0,&h_drv);
if (NULL == drv) {
fprintf(stderr,"no grabber device available\n");
exit(1);
diff --git a/console/streamer.c b/console/streamer.c
index 1bb19e8..a4e9399 100644
--- a/console/streamer.c
+++ b/console/streamer.c
@@ -423,7 +423,7 @@ main(int argc, char **argv)
ng_vfmt_to_desc[video.fmtid],ng_afmt_to_desc[audio.fmtid]);
if (video.fmtid != VIDEO_NONE) {
- drv = ng_vid_open(ng_dev.video,NULL,0,&h_drv);
+ drv = ng_vid_open(ng_dev.video,NULL,NULL,0,&h_drv);
if (NULL == drv) {
fprintf(stderr,"no grabber device available\n");
exit(1);
diff --git a/console/ttv.c b/console/ttv.c
index 5f0133c..46ce94b 100644
--- a/console/ttv.c
+++ b/console/ttv.c
@@ -35,7 +35,7 @@ static int fast;
static void
grabber_init(void)
{
- drv = ng_vid_open(ng_dev.video,NULL,0,&h_drv);
+ drv = ng_vid_open(ng_dev.video,NULL,NULL,0,&h_drv);
if (NULL == drv) {
fprintf(stderr,"no grabber device available\n");
exit(1);
diff --git a/console/webcam.c b/console/webcam.c
index 535709a..a4421a1 100644
--- a/console/webcam.c
+++ b/console/webcam.c
@@ -297,7 +297,7 @@ grab_init(void)
struct ng_attribute *attr;
int val,i;
- drv = ng_vid_open(ng_dev.video,NULL,0,&h_drv);
+ drv = ng_vid_open(ng_dev.video,NULL,NULL,0,&h_drv);
if (NULL == drv) {
fprintf(stderr,"no grabber device available\n");
exit(1);

Privacy Policy