共用方式為


CBaseVideoRenderer::Notify

 
Microsoft DirectShow 9.0

CBaseVideoRenderer::Notify

The Notify method receives a notification that a quality change is requested.

Syntax

  HRESULT Notify(
    IBaseFilter *pSelf,
    Quality q
);

Parameters

pSelf

[in] Pointer to the filter that is sending the quality notification.

q

[in] Quality notification structure.

Return Value

Returns an HRESULT value.

Remarks

This member function implements the IQualityControl::Notify method on the video renderer. This is called, typically by the filter graph manager, when the quality must be cut back. This might occur when the quality of audio playback has been increased to the point that the video playback quality must be decreased.

Notify sets the m_trThrottle data member to a delay value to be inserted between frames by ThrottleWait.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also