[FFmpeg-devel] libossupport status
Luca Abeni
lucabe72
Fri Dec 28 19:18:40 CET 2007
Hi Michael,
Michael Niedermayer wrote:
[...]
>> BTW the POSIX-recommended way to sleep seems to be using select with
>> no file descriptors. Does this work on Windows?
>
> Does it matter? Most of our sleeps are because of "unix" API design flaws,
> the related code simply isnt used on windows ...
> no x11, no v4l, no bktr
So, the only problematic use of usleep is in ffmpeg.c... I wrote the
attached patch to change it in select(), as suggested by Rich. This
seems to work well on Linux; I'll test on mingw tomorrow.
Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_usleep.diff
Type: text/x-diff
Size: 800 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071228/6eaf325b/attachment.diff>
More information about the ffmpeg-devel
mailing list