quartz: Change longlong printfs.
This commit is contained in:
parent
c1a4acde01
commit
810a933f68
|
@ -263,7 +263,9 @@ static HRESULT DSoundRender_Sample(LPVOID iface, IMediaSample * pSample)
|
|||
ERR("Cannot get sample time (%x)\n", hr);
|
||||
|
||||
if (This->rtLastStop != tStart && (IMediaSample_IsDiscontinuity(pSample) == S_FALSE))
|
||||
FIXME("Unexpected discontinuity: Last: %lld, tStart: %lld\n", This->rtLastStop, tStart);
|
||||
FIXME("Unexpected discontinuity: Last: %u.%03u, tStart: %u.%03u\n",
|
||||
(DWORD)(This->rtLastStop / 10000000), (DWORD)((This->rtLastStop / 10000)%1000),
|
||||
(DWORD)(tStart / 10000000), (DWORD)((tStart / 10000)%1000));
|
||||
This->rtLastStop = tStop;
|
||||
|
||||
if (IMediaSample_IsPreroll(pSample) == S_OK)
|
||||
|
|
|
@ -2079,7 +2079,8 @@ static HRESULT WINAPI MediaSeeking_GetCurrentPosition(IMediaSeeking *iface,
|
|||
else
|
||||
*pCurrent = This->position;
|
||||
LeaveCriticalSection(&This->cs);
|
||||
TRACE("Time: %lld.%03lld\n", *pCurrent / 10000000, (*pCurrent / 10000)%1000);
|
||||
|
||||
TRACE("Time: %u.%03u\n", (DWORD)(*pCurrent / 10000000), (DWORD)((*pCurrent / 10000)%1000));
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
|
@ -393,7 +393,7 @@ static HRESULT WAVEParser_InputPin_PreConnect(IPin * iface, IPin * pConnectPin)
|
|||
|
||||
pWAVEParser->Parser.mediaSeeking.llCurrent = 0;
|
||||
pWAVEParser->Parser.mediaSeeking.llStop = pWAVEParser->Parser.mediaSeeking.llDuration = bytepos_to_duration(pWAVEParser, pWAVEParser->EndOfFile);
|
||||
TRACE("Duration: %lld seconds\n", pWAVEParser->Parser.mediaSeeking.llDuration / (LONGLONG)10000000);
|
||||
TRACE("Duration: %u seconds\n", (DWORD)(pWAVEParser->Parser.mediaSeeking.llDuration / (LONGLONG)10000000));
|
||||
|
||||
This->rtStop = pWAVEParser->EndOfFile;
|
||||
This->rtStart = pWAVEParser->StartOfFile;
|
||||
|
|
Loading…
Reference in New Issue