Hi Laurent, >Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote: >> According to the V4L2 specification, applications set bytesused, field and >> timestamp fields of struct v4l2_buffer when the buffer is intended for >> output and memory type is MMAP. This adds proper copying of those values >> to videobuf_buffer so drivers can use them. > >Why only for the MMAP memory type ? Don't drivers need the information for >USERPTR buffers as well ? > It is only mentioned for the MMAP memory type: http://linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html#vidioc-qbuf although it would make sense to do this for USERPTR as well. Maybe I am trying too hard to stay 100% faithful to the documentation, I guess it should be corrected as well then? Best regards -- Pawel Osciak Linux Platform Group Samsung Poland R&D Center -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html