diff options
author | Nickolay V. Shmyrev <devnull@localhost> | 2005-11-24 09:12:53 +0000 |
---|---|---|
committer | Nickolay V. Shmyrev <devnull@localhost> | 2005-11-24 09:12:53 +0000 |
commit | 2356e0a7e4bb7f34989f32c0fd94cca6e703eb31 (patch) | |
tree | eed4850e4e1ec1532dcfa2b1915a519c14b27473 /linux/drivers/media/video/video-buf.c | |
parent | 4957d340a49019b0d81efbb538fd07e55dc7679d (diff) | |
download | mediapointer-dvb-s2-2356e0a7e4bb7f34989f32c0fd94cca6e703eb31.tar.gz mediapointer-dvb-s2-2356e0a7e4bb7f34989f32c0fd94cca6e703eb31.tar.bz2 |
bttv raw format fix to fix VIDIOCSPICT ioctl.
From: Michael H. Schimek <mschimek@gmx.at>
* ../v4l/linux/drivers/media/video/bttv-driver.c:
* ../v4l/linux/drivers/media/video/video-buf.c:
bttv raw format fix to fix VIDIOCSPICT ioctl.
Signed-off-by: Michael H. Schimek <mschimek@gmx.at>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Diffstat (limited to 'linux/drivers/media/video/video-buf.c')
-rw-r--r-- | linux/drivers/media/video/video-buf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/video-buf.c b/linux/drivers/media/video/video-buf.c index 6d082f3ef..27980d034 100644 --- a/linux/drivers/media/video/video-buf.c +++ b/linux/drivers/media/video/video-buf.c @@ -1,5 +1,5 @@ /* - * $Id: video-buf.c,v 1.22 2005/11/18 15:31:12 nsh Exp $ + * $Id: video-buf.c,v 1.23 2005/11/24 09:12:53 nsh Exp $ * * generic helper functions for video4linux capture buffers, to handle * memory management and PCI DMA. Right now bttv + saa7134 use it. @@ -823,6 +823,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q, if (NULL == q->read_buf) goto done; q->read_buf->memory = V4L2_MEMORY_USERPTR; + q->read_buf->bsize = count; /* preferred size */ field = videobuf_next_field(q); retval = q->ops->buf_prepare(q,q->read_buf,field); if (0 != retval) { |