[FFmpeg-devel] [PATCH] Yield on AVERROR(EAGAIN).

Reimar Döffinger Reimar.Doeffinger
Fri Mar 5 07:47:40 CET 2010


On Fri, Mar 05, 2010 at 04:18:55AM +0100, Michael Niedermayer wrote:
> Also usleep() could be tried when sched_yield() doesnt do what we want it
> to.

If we want a quick solution, just sleeping for 1 ms or so should work fine
for almost all cases I think.
And not waste insane amounts of CPU time and power.



More information about the ffmpeg-devel mailing list