[PATCH weston] simple-dmabuf-v4l: Remove incorrect assert
Derek Foreman
derekf at osg.samsung.com
Fri Mar 10 20:21:32 UTC 2017
According to v4l2 documentation, DQBUF always clears FLAG_DONE, so
this assert can be expected to fire 100% of the time.
Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
clients/simple-dmabuf-v4l.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/clients/simple-dmabuf-v4l.c b/clients/simple-dmabuf-v4l.c
index b49d62fd..82b55a99 100644
--- a/clients/simple-dmabuf-v4l.c
+++ b/clients/simple-dmabuf-v4l.c
@@ -457,8 +457,6 @@ dequeue(struct display *display)
return -1;
}
- assert(buf.flags & V4L2_BUF_FLAG_DONE);
-
return buf.index;
}
--
2.11.0
More information about the wayland-devel
mailing list