Compartilhar via


CVideoTransformFilter::AlterQuality

 
Microsoft DirectShow 9.0

CVideoTransformFilter::AlterQuality

The AlterQuality method notifies the filter that a quality change is requested. This method overrides the CTransformFilter::AlterQuality method.

Syntax

  virtual HRESULT AlterQuality(
    Quality q
);

Parameters

q

Quality structure that contains the quality control message.

Return Value

Returns E_FAIL.

Remarks

This method is called when the output pin receives a quality message (through the IQualityControl::Notify method).

The lateness value from q is stored in the m_itrLate member variable. The return value of E_FAIL indicates that the renderer should catch up by dropping frames, although the CVideoTransformFilter class will also drop frames under the right conditions. 

Requirements

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

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

See Also