v4l2: keep separate field for mapped fd

When mapping an input memfd, don't write the mapped pointer into the
buffer but keep a separate field for it.
This commit is contained in:
Wim Taymans 2018-02-12 11:35:49 +01:00
parent 29dbffea52
commit f37f8ce70d
2 changed files with 94 additions and 87 deletions

View file

@ -65,6 +65,7 @@ struct buffer {
struct spa_meta_header *h;
uint32_t flags;
struct v4l2_buffer v4l2_buffer;
void *ptr;
};
struct type {