Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0395f01d authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "[media] videobuf2-v4l2.c: send data_offset field to vb2 framework"

parents 2b2e07c8 78f1cd3c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -328,6 +328,8 @@ static int __fill_vb2_buffer(struct vb2_buffer *vb,
					b->m.planes[plane].m.userptr;
				planes[plane].length =
					b->m.planes[plane].length;
				planes[plane].data_offset =
					b->m.planes[plane].data_offset;
			}
		}
		if (b->memory == VB2_MEMORY_DMABUF) {
@@ -336,6 +338,8 @@ static int __fill_vb2_buffer(struct vb2_buffer *vb,
					b->m.planes[plane].m.fd;
				planes[plane].length =
					b->m.planes[plane].length;
				planes[plane].data_offset =
					b->m.planes[plane].data_offset;
			}
		}