[Libav-user] Best way to create a fractional ms timer?

Mike Versteeg mike at mikeversteeg.com
Mon Apr 1 12:18:39 CEST 2013

@Rene: not that I know, and 1 ms will be very unreliable.

@Nicolas: Yes, and this is often said. However these days using a timer you
get very reliable and stable periods with hardly any jitter. Unless your
period needs to be (on average) 33.33 ms, then timers won't do.

It's really odd Windows does not provide in this, nor (apparently) libav*.
But at least now I know it is what it is and we'll have to do with
loops/sleep. Thanks everyone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130401/d9c19c8e/attachment.html>

More information about the Libav-user mailing list