Skip to content

Commit 378b2c5

Browse files
author
Simon Morlat
committed
fix previous commit
1 parent 02600a3 commit 378b2c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/videofilters/msv4l2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ static mblk_t *v4l2_dequeue_ready_buffer(V4l2State *s, int poll_timeout_ms){
471471
switch (errno) {
472472
case EAGAIN:
473473
ms_warning("VIDIOC_DQBUF failed with EAGAIN, this is a driver bug !");
474+
usleep(20000);
474475
case EIO:
475476
/* Could ignore EIO, see spec. */
476477
break;

0 commit comments

Comments
 (0)