summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yavta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index 63d96e3..ae29bbe 100644
--- a/yavta.c
+++ b/yavta.c
@@ -385,6 +385,7 @@ static int video_queue_buffer(struct device *dev, int index)
buf.index = index;
buf.type = dev->type;
buf.memory = dev->memtype;
+ buf.length = dev->bufsize;
if (dev->memtype == V4L2_MEMORY_USERPTR)
buf.m.userptr = (unsigned long)dev->mem[index];