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

Ramiro Polla ramiro.polla
Fri Mar 5 01:22:44 CET 2010


Hi,

Currently FFmpeg eats 100% cpu on devices that return EAGAIN. Attached
patch makes FFmpeg yield when it gets EAGAIN. In Windows it gets down
to normal cpu levels, but on Linux this didn't work as I expected, it
still eats 100% cpu. Any ideas?

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_yield.diff
Type: text/x-diff
Size: 1981 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100304/d012de5e/attachment.diff>



More information about the ffmpeg-devel mailing list