This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: libv4l-mplane: Properly convert all returned fields for *BUF
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Sat Nov 24 19:54:40 2012 -0200

Not all fields were converted back to the non-MPLANE struct. Convert them,
as otherwise userspace may fail.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 lib/libv4l-mplane/libv4l-mplane.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=b14a1760d3e967ced91708e118f28b0fce98c808

diff --git a/lib/libv4l-mplane/libv4l-mplane.c 
b/lib/libv4l-mplane/libv4l-mplane.c
index 3bba1d9..ef7cf40 100644
--- a/lib/libv4l-mplane/libv4l-mplane.c
+++ b/lib/libv4l-mplane/libv4l-mplane.c
@@ -292,6 +292,13 @@ static int buf_ioctl(int fd, unsigned long int cmd, struct 
v4l2_buffer *arg)
 
        ret = SYS_IOCTL(fd, cmd, &buf);
 
+       arg->index = buf.index;
+       arg->flags = buf.flags;
+       arg->field = buf.field;
+       arg->timestamp = buf.timestamp;
+       arg->timecode = buf.timecode;
+       arg->sequence = buf.sequence;
+
        arg->length = plane.length;
        arg->bytesused = plane.bytesused;
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to