<div dir="ltr">timeBeginPeriod() + timeGetTime() +...+ Sleep() + timeEndPeriod()<br><a href="http://msdn.microsoft.com/ru-RU/library/windows/desktop/dd757624%28v=vs.85%29.aspx">http://msdn.microsoft.com/ru-RU/library/windows/desktop/dd757624%28v=vs.85%29.aspx</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/31 Mike Versteeg <span dir="ltr"><<a href="mailto:mike@mikeversteeg.com" target="_blank">mike@mikeversteeg.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Thanks Alex. This is much like I do now (using Sleep()), but as I mentioned the problem with these one shot timer solutions is the event is easily interrupted giving me +/- 10 ms inaccuracy at times. I ran tests and a periodic timer gives off a much more stable clock. Unless Sleep() itself is more susceptible to interrupts than Select()?<br>

<br></div>So libav* does not offer a periodic timer (with OS interdependency as a bonus)? Certainly explains why I could not find any, which kind of surprised me..<br></div>
<br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>