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

Method Redraw

Source/VideoRenderer.cpp:1767–1780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1765}
1766
1767HRESULT CMpcVideoRenderer::Redraw()
1768{
1769 CAutoLock cRendererLock(&m_RendererLock);
1770 const auto bDrawFrame = m_bValidBuffer && m_filterState != State_Stopped;
1771
1772 HRESULT hr = S_OK;
1773 if (bDrawFrame) {
1774 hr = m_VideoProcessor->Render(0, INVALID_TIME);
1775 } else {
1776 hr = m_VideoProcessor->FillBlack();
1777 }
1778
1779 return hr;
1780}
1781
1782void CMpcVideoRenderer::DoAfterChangingDevice()
1783{

Callers

nothing calls this directly

Calls 2

RenderMethod · 0.45
FillBlackMethod · 0.45

Tested by

no test coverage detected