CTransInPlaceFilter.CheckTransform method

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

Transip.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CTransInPlaceFilter Class

 

 

Show: