summaryrefslogtreecommitdiff
path: root/v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h
diff options
context:
space:
mode:
authorhans@localhost.localdomain <hans@localhost.localdomain>2008-08-03 11:42:57 +0200
committerhans@localhost.localdomain <hans@localhost.localdomain>2008-08-03 11:42:57 +0200
commitf07be0b40ae3cbb2ae809d5f4151782f68eabb42 (patch)
treefefd7e2e1aa6a946ba99c7ce3d49b60815b78da4 /v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h
parent474932fcb19fc298b8786e737bd1ae5115c9a6d2 (diff)
downloadmediapointer-dvb-s2-f07be0b40ae3cbb2ae809d5f4151782f68eabb42.tar.gz
mediapointer-dvb-s2-f07be0b40ae3cbb2ae809d5f4151782f68eabb42.tar.bz2
libv4l: make xawtv happy
From: Hans de Goede <j.w.r.degoede@hhs.nl> Be more relaxed in our checks for mixing read and mmap access, we were being more strict in this then certain kernel drivers (bttv) making xawtv unhappy Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h')
-rw-r--r--v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h b/v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h
index d9e73b612..8724832e1 100644
--- a/v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h
+++ b/v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h
@@ -68,8 +68,6 @@
#define MIN(a,b) (((a)<(b))?(a):(b))
-enum v4l2_io { v4l2_io_none, v4l2_io_read, v4l2_io_mmap };
-
struct v4l2_dev_info {
int fd;
int flags;
@@ -81,7 +79,6 @@ struct v4l2_dev_info {
pthread_mutex_t stream_lock;
unsigned int no_frames;
unsigned int nreadbuffers;
- enum v4l2_io io;
struct v4lconvert_data *convert;
unsigned char *convert_mmap_buf;
/* Frame bookkeeping is only done when in read or mmap-conversion mode */