MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / Notify

Method Notify

common/baseclasses/transfrm.cpp:970–990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968// Pass the quality mesage on upstream.
969
970STDMETHODIMP
971CTransformOutputPin::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.

Callers

nothing calls this directly

Calls 2

PassNotifyMethod · 0.80
AlterQualityMethod · 0.45

Tested by

no test coverage detected