| 202 | } |
| 203 | |
| 204 | void CVideoRendererInputPin::SetNewMediaType(const CMediaType& mt) |
| 205 | { |
| 206 | DLog(L"CVideoRendererInputPin::SetNewMediaType()"); |
| 207 | |
| 208 | m_pNewMT.reset(); |
| 209 | if (m_pCustomAllocator) { |
| 210 | m_pCustomAllocator->SetNewMediaType(mt); |
| 211 | } else { |
| 212 | m_pNewMT.reset(new CMediaType(mt)); |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | void CVideoRendererInputPin::ClearNewMediaType() |
| 217 | { |