user32: SetTimer should respect the minimum and maximum timeout limits (try 3).

Erich E. Hoover ehoover at mymail.mines.edu
Mon Apr 29 22:42:58 CDT 2013


The attached patch is the next step in the series of fixes for
supporting Netflix under Wine.  I'm starting with patches that affect
more than just PlayReady and moving toward more PlayReady-specific
patches as I move along.  In the case of this patch, video rendering
in all Silverlight applications should be improved dramatically once
the patch is applied.

So, this particular patch fixes the minimum and maximum timeout limits
for SetTimer, which has a significant impact on any application using
SetTimer to render video (Bug #32489).  The old minimum timeout (55
ms) is nowhere near short enough to render video at 24 FPS, causing
"choppy" video behavior in a variety of Silverlight apps.  This
version of the patch has been updated to set the value of
USER_TIMER_MINIMUM indicated by MSDN (10 ms), but then internally uses
the minimum timeout found from the included tests (15 ms).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-SetTimer-should-respect-the-minimum-and-maxim.patch
Type: application/octet-stream
Size: 3177 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130429/0cb6dbfc/attachment.obj>


More information about the wine-patches mailing list