| 968 | // Pass the quality mesage on upstream. |
| 969 | |
| 970 | STDMETHODIMP |
| 971 | CTransformOutputPin::Notify(IBaseFilter *pSender, Quality q) |
| 972 | { |
| 973 | UNREFERENCED_PARAMETER(pSender); |
| 974 | ValidateReadPtr(pSender, sizeof(IBaseFilter)); |
| 975 | |
| 976 | // First see if we want to handle this ourselves |
| 977 | HRESULT hr = m_pTransformFilter->AlterQuality(q); |
| 978 | if (hr != S_FALSE) |
| 979 | { |
| 980 | return hr; // either S_OK or a failure |
| 981 | } |
| 982 | |
| 983 | // S_FALSE means we pass the message on. |
| 984 | // Find the quality sink for our input pin and send it there |
| 985 | |
| 986 | ASSERT(m_pTransformFilter->m_pInput != NULL); |
| 987 | |
| 988 | return m_pTransformFilter->m_pInput->PassNotify(q); |
| 989 | |
| 990 | } // Notify |
| 991 | |
| 992 | // the following removes a very large number of level 4 warnings from the microsoft |
| 993 | // compiler output, which are not useful at all in this case. |
nothing calls this directly
no test coverage detected