[PATCH] mciavi32: Advance video frames based on frame duration, not audio sample rate

Andrew Eikum aeikum at codeweavers.com
Wed Aug 15 13:45:07 CDT 2012


The video I was working with has video frame durations of about 0.03s.
GetTickCount() isn't accurate enough for that, so now we're using
QueryPerformanceCounter.
---
 dlls/mciavi32/mciavi.c         | 45 ++++++++++++++++++++++++++----------------
 dlls/mciavi32/mmoutput.c       | 10 +++++-----
 dlls/mciavi32/private_mciavi.h |  2 +-
 3 files changed, 34 insertions(+), 23 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mciavi32-Advance-video-frames-based-on-frame-duratio.patch
Type: text/x-patch
Size: 5511 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120815/0b0d4f7a/attachment.bin>


More information about the wine-patches mailing list