| 881 | } |
| 882 | |
| 883 | STDMETHODIMP CMpcVideoRenderer::SetDestinationPosition(long Left, long Top, long Width, long Height) |
| 884 | { |
| 885 | const CRect videoRect(Left, Top, Left + Width, Top + Height); |
| 886 | if (videoRect.IsRectNull()) { |
| 887 | return S_OK; |
| 888 | } |
| 889 | |
| 890 | if (videoRect != m_videoRect) { |
| 891 | m_videoRect = videoRect; |
| 892 | |
| 893 | CAutoLock cRendererLock(&m_RendererLock); |
| 894 | |
| 895 | m_VideoProcessor->SetVideoRect(videoRect); |
| 896 | } |
| 897 | |
| 898 | if (m_bForceRedrawing) { |
| 899 | Redraw(); |
| 900 | } |
| 901 | |
| 902 | return S_OK; |
| 903 | } |
| 904 | |
| 905 | STDMETHODIMP CMpcVideoRenderer::GetDestinationPosition(long *pLeft, long *pTop, long *pWidth, long *pHeight) |
| 906 | { |
nothing calls this directly
no test coverage detected