strmbase: Frame scheduling should use IMediaSample::GetTime.
This commit is contained in:
parent
0ff8c9da52
commit
0029bbcf48
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue