共用方式為


IFullScreenVideoEx::KeepPixelAspectRatio

 
Microsoft DirectShow 9.0

IFullScreenVideoEx::KeepPixelAspectRatio

The KeepPixelAspectRatio method specifies whether to maintain the pixel aspect ratio. The Full Screen Renderer filter does not support this method; it always maintains the pixel aspect ratio.

Syntax

  HRESULT GetAcceleratorTable(
    long KeepAspect
);

Parameters

KeepAspect

[in] Specifies whether to maintain the aspect ratio. The value must be OATRUE or OAFALSE.

Return Values

Returns an HRESULT value.

Requirements

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

Library: Use Strmiids.lib.

See Also