aboutsummaryrefslogtreecommitdiffstats
path: root/v4l-conf.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-04-01 11:24:35 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-04-01 11:24:35 +0200
commitbb218f6ab257e1ced214fcc815a2357313ac1e38 (patch)
treead78825ccce2ec26d855fbf344c632dbc1f9403e /v4l-conf.c
parenta9ffb70640ff13416921e62fed71adc08611bfbe (diff)
v2.13
Diffstat (limited to 'v4l-conf.c')
-rw-r--r--v4l-conf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/v4l-conf.c b/v4l-conf.c
index 321ec93..a876c95 100644
--- a/v4l-conf.c
+++ b/v4l-conf.c
@@ -23,12 +23,10 @@
# include <X11/extensions/xf86dga.h>
#endif
-#define DEVICE "/dev/bttv"
-
int verbose = 1;
int bpp = 0;
char *display = ":0.0";
-char *device = "/dev/bttv";
+char *device = "/dev/video";
char *fbdev = "/dev/fb0";
struct fb_fix_screeninfo fix;
@@ -140,7 +138,7 @@ main(int argc, char *argv[])
}
/* open & check v4l device */
- if (-1 == (fd = open(DEVICE,O_RDWR))) {
+ if (-1 == (fd = open(device,O_RDWR))) {
fprintf(stderr,"can't open %s: %s\n",device,strerror(errno));
exit(1);
}

Privacy Policy