Commit 02600a3f authored by Simon Morlat's avatar Simon Morlat

workaround attempt for buggy v4l2 drivers

parent af994a13
......@@ -470,6 +470,7 @@ static mblk_t *v4l2_dequeue_ready_buffer(V4l2State *s, int poll_timeout_ms){
if (v4l2_ioctl(s->fd, VIDIOC_DQBUF, &buf)<0) {
switch (errno) {
case EAGAIN:
ms_warning("VIDIOC_DQBUF failed with EAGAIN, this is a driver bug !");
case EIO:
/* Could ignore EIO, see spec. */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment