Share via


IAMTimelineSrc::SetStretchMode

 
Microsoft DirectShow 9.0

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. For a list of possible values, see Resize Flags.

Return Value

Returns S_OK.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also