quartz: Set filesource initial state to stopped.
Fixes a bug valgrind found.
This commit is contained in:
parent
8b65914cf9
commit
ee317b19b2
|
@ -355,6 +355,7 @@ HRESULT AsyncReader_create(IUnknown * pUnkOuter, LPVOID * ppv)
|
||||||
pAsyncRead->filterInfo.pGraph = NULL;
|
pAsyncRead->filterInfo.pGraph = NULL;
|
||||||
pAsyncRead->pOutputPin = NULL;
|
pAsyncRead->pOutputPin = NULL;
|
||||||
pAsyncRead->lastpinchange = GetTickCount();
|
pAsyncRead->lastpinchange = GetTickCount();
|
||||||
|
pAsyncRead->state = State_Stopped;
|
||||||
|
|
||||||
InitializeCriticalSection(&pAsyncRead->csFilter);
|
InitializeCriticalSection(&pAsyncRead->csFilter);
|
||||||
pAsyncRead->csFilter.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": AsyncReader.csFilter");
|
pAsyncRead->csFilter.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": AsyncReader.csFilter");
|
||||||
|
|
Loading…
Reference in New Issue