Share via


IFullScreenVideoEx::SetClipFactor

 
Microsoft DirectShow 9.0

IFullScreenVideoEx::SetClipFactor

The SetClipFactor method specifies the clip factor, which determines how much of the video the Full Screen Renderer is allowed to clip.

For example, suppose the display mode is 320 x 200 and the video is 352 x 288 pixels. Assuming the decoder cannot shrink the video, the display will clip about 25 percent of the image. The clip factor specifies the upper range that is permitted. The default value is 25%.

Syntax

  HRESULT SetClipFactor(
  long ClipFactor
);

Parameters

ClipFactor

[in] Specifies the maximum allowable amount of the image to clip. The value is expressed as a percentage from 0 to 100.

Return Values

Value Description
E_INVALIDARG Invalid argument.
S_OK Success.

Requirements

Header: Declared in Amvideo.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also