IVMRAspectRatioControl interface

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

Methods

The IVMRAspectRatioControl interface has these methods.

Method Description
IVMRAspectRatioControl::GetAspectRatioMode The GetAspectRatioMode method queries whether the VMR will preserve the aspect ratio of the source video.
IVMRAspectRatioControl::SetAspectRatioMode The SetAspectRatioMode method specifies whether the VMR will preserve the aspect ratio of the source video.

Requirements

   
Minimum supported client Windows XP with SP1 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See also

Using the Video Mixing Renderer