Skip to content

Commit

Permalink
Мы не должны менять входящий медиа-тип (размеры), можем только "посов…
Browse files Browse the repository at this point in the history
…етовать" вышестоящему фильтру.
  • Loading branch information
Aleksoid1978 committed Apr 14, 2024
1 parent 5c5a2af commit 7516087
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/VideoRenderer.cpp
Expand Up @@ -428,7 +428,6 @@ HRESULT CMpcVideoRenderer::SetMediaType(const CMediaType *pmt)
if (S_OK == m_pInputPin->GetConnected()->QueryAccept(&mtNew)) {
DLog(L"CMpcVideoRenderer::SetMediaType() : upstream filter accepted new media type. QueryAccept return S_OK");
inputPin->SetNewMediaType(mtNew);
mt = std::move(mtNew);
}
}
}
Expand Down

0 comments on commit 7516087

Please sign in to comment.