IVMRAspectRatioControl9 Interface

 
Microsoft DirectShow 9.0

IVMRAspectRatioControl9 Interface

The IVMRAspectRatioControl9 interface controls whether the Video Mixing Renderer Filter 9 (VMR-9) preserves the aspect ratio of the source video. This interface is available when the VMR is operating in either windowed or windowless modes. In windowless mode, the same functionality is provided by the IVMRWindowlessControl interface.

In addition to the methods inherited from IUnknown, the IVMRAspectRatioControl9 interface exposes the following methods.

Method Description
GetAspectRatioMode Queries whether the VMR will preserve the aspect ratio of the source video.
SetAspectRatioMode Specifies whether the VMR will preserve the aspect ratio of the source video.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.