strmbase: Frame scheduling should use IMediaSample::GetTime.

This commit is contained in:
Alessandro Pignotti 2013-03-05 16:13:43 +01:00 committed by Alexandre Julliard
parent 0ff8c9da52
commit 0029bbcf48
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ HRESULT WINAPI BaseRendererImpl_Receive(BaseRenderer *This, IMediaSample * pSamp
} }
/* Wait for render Time */ /* Wait for render Time */
if (SUCCEEDED(IMediaSample_GetMediaTime(pSample, &start, &stop))) if (SUCCEEDED(IMediaSample_GetTime(pSample, &start, &stop)))
{ {
hr = S_FALSE; hr = S_FALSE;
RendererPosPassThru_RegisterMediaTime(This->pPosition, start); RendererPosPassThru_RegisterMediaTime(This->pPosition, start);