diff options
author | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-08-03 11:42:57 +0200 |
---|---|---|
committer | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-08-03 11:42:57 +0200 |
commit | f07be0b40ae3cbb2ae809d5f4151782f68eabb42 (patch) | |
tree | fefd7e2e1aa6a946ba99c7ce3d49b60815b78da4 /v4l2-apps/lib/libv4l/libv4l2/log.c | |
parent | 474932fcb19fc298b8786e737bd1ae5115c9a6d2 (diff) | |
download | mediapointer-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/log.c')
-rw-r--r-- | v4l2-apps/lib/libv4l/libv4l2/log.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4l2/log.c b/v4l2-apps/lib/libv4l/libv4l2/log.c index 42051ea46..05f6c46d7 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/log.c +++ b/v4l2-apps/lib/libv4l/libv4l2/log.c @@ -131,6 +131,14 @@ void v4l2_log_ioctl(unsigned long int request, void *arg, int result) } } break; + case VIDIOC_REQBUFS: + { + struct v4l2_requestbuffers *req = arg; + + fprintf(v4l2_log_file, " count: %u type: %d memory: %d\n", + req->count, req->type, req->memory); + } + break; } fprintf(v4l2_log_file, "result == %d\n", result); |