MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / OnRenderStart

Method OnRenderStart

Source/renbase2.cpp:243–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241// The rest is just performance logging.
242
243void CBaseVideoRenderer2::OnRenderStart(IMediaSample *pMediaSample)
244{
245 RecordFrameLateness(m_trLate, m_trFrame);
246 m_tRenderStart = timeGetTime();
247} // OnRenderStart
248
249
250// Called directly after drawing an image. We calculate the time spent in the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected