Maarten Lankhorst : quartz: Set sane defaults for pin stream rate.
Module: wine Branch: master Commit: c8e31b5bdd2d921bf3010aec974b16e327c26479 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c8e31b5bdd2d921bf3010aec97... Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Sat Apr 12 23:04:07 2008 -0700 quartz: Set sane defaults for pin stream rate. --- dlls/quartz/pin.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c index 96c4b82..71f33ec 100644 --- a/dlls/quartz/pin.c +++ b/dlls/quartz/pin.c @@ -246,7 +246,7 @@ static HRESULT InputPin_Init(const IPinVtbl *InputPin_Vtbl, const PIN_INFO * pPi pPinImpl->pAllocator = NULL; pPinImpl->tStart = 0; pPinImpl->tStop = 0; - pPinImpl->dRate = 0; + pPinImpl->dRate = 1.0; pPinImpl->pin.lpVtbl = InputPin_Vtbl; pPinImpl->lpVtblMemInput = &MemInputPin_Vtbl; pPinImpl->flushing = pPinImpl->end_of_stream = 0; @@ -1198,6 +1198,7 @@ static HRESULT PullPin_Init(const IPinVtbl *PullPin_Vtbl, const PIN_INFO * pPinI pPinImpl->rtStart = 0; pPinImpl->rtCurrent = 0; pPinImpl->rtStop = ((LONGLONG)0x7fffffff << 32) | 0xffffffff; + pPinImpl->dRate = 1.0; pPinImpl->state = State_Stopped; InitializeCriticalSection(&pPinImpl->thread_lock);
participants (1)
-
Alexandre Julliard