Commit 378b2c55 authored by Simon Morlat's avatar Simon Morlat

fix previous commit

parent 02600a3f
......@@ -471,6 +471,7 @@ static mblk_t *v4l2_dequeue_ready_buffer(V4l2State *s, int poll_timeout_ms){
switch (errno) {
case EAGAIN:
ms_warning("VIDIOC_DQBUF failed with EAGAIN, this is a driver bug !");
usleep(20000);
case EIO:
/* Could ignore EIO, see spec. */
break;
......
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