Commit 28092982 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

V4L2: msleep uses µs - not ms

parent 86572816
...@@ -1371,7 +1371,9 @@ static int Demux( demux_t *p_demux ) ...@@ -1371,7 +1371,9 @@ static int Demux( demux_t *p_demux )
{ {
/* Sleep so we do not consume all the cpu, 10ms seems /* Sleep so we do not consume all the cpu, 10ms seems
* like a good value (100fps) */ * like a good value (100fps) */
msleep( 10 ); /* Yeah, nevermind this was sleeping 10 microseconds! This is
* completely brain damaged anyway. Use poll() or mwait() FIXME. */
msleep(10000);
return 1; return 1;
} }
......
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