Condividi tramite


CTransformFilter::AlterQuality

 
Microsoft DirectShow 9.0

CTransformFilter::AlterQuality

The AlterQuality method notifies the filter that a quality change is requested.

Syntax

  virtual HRESULT AlterQuality(
    Quality q
);

Parameters

q

Quality structure that contains the quality control message.

Return Value

Returns an HRESULT value. Possible values include those shown in the following table.

Value Description
S_FALSE Did not handle the quality message. The message should be passed upstream.
S_OK Handled the quality message. No further action is necessary.

The base class returns S_FALSE.

Remarks

Override this method if the filter can perform quality control. For more information, see Quality-Control Management.

Requirements

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

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

See Also