Compartir a través de


CTransInPlaceFilter::CheckTransform

 
Microsoft DirectShow 9.0

CTransInPlaceFilter::CheckTransform

The CheckTransform method checks whether an input media type is compatible with an output media type. This method overrides the CTransformFilter::CheckTransform method.

Syntax

  HRESULT CheckTransform(
    const CMediaType *mtIn,
    const CMediaType *mtOut
);

Parameters

mtIn

Pointer to a CMediaType object that specifies the input type.

mtOut

Pointer to a CMediaType object that specifies the output type.

Return Value

Returns S_OK.

Remarks

The CTransInPlace filter never calls CheckTransform. Instead, all pin connection use CTransformFilter::CheckInputType to check the media type, with the assumption that the input and output types always match.

Requirements

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

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

See Also