Microsoft DirectX 8.1 (C++)

IAMTimelineSrc::SetStretchMode

The SetStretchMode method sets the stretch mode. The stretch mode determines how a video source is rendered if its size does not match the output dimensions.

Syntax

HRESULT SetStretchMode(
    int nStretchMode
);

Parameters

nStretchMode

Flag indicating the current stretch mode. Possible values include the following:

Return Value

Returns S_OK.

See Also