Commit 0029bbcf authored by Alessandro Pignotti's avatar Alessandro Pignotti Committed by Alexandre Julliard

strmbase: Frame scheduling should use IMediaSample::GetTime.

parent 0ff8c9da
......@@ -371,7 +371,7 @@ HRESULT WINAPI BaseRendererImpl_Receive(BaseRenderer *This, IMediaSample * pSamp
}
/* Wait for render Time */
if (SUCCEEDED(IMediaSample_GetMediaTime(pSample, &start, &stop)))
if (SUCCEEDED(IMediaSample_GetTime(pSample, &start, &stop)))
{
hr = S_FALSE;
RendererPosPassThru_RegisterMediaTime(This->pPosition, start);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment