VMR_ASPECT_RATIO_MODE enumeration (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The VMR_ASPECT_RATIO_MODE enumeration type describes whether the Video Mixing Renderer Filter 7 preserves the aspect ratio of the source video.

Syntax

typedef enum VMR_ASPECT_RATIO_MODE {
  VMR_ARMODE_NONE = 0,
  VMR_ARMODE_LETTER_BOX
} ;

Constants

 
VMR_ARMODE_NONE
Value: 0
Indicates that the VMR will not try to maintain the aspect ratio of the source video.
VMR_ARMODE_LETTER_BOX
Indicates that the VMR will maintain the aspect ratio of the source video by letterboxing within the output rectangle.

Requirements

Requirement Value
Minimum supported client Windows XP
Header strmif.h

See also

DirectShow Enumerated Types

IVMRAspectRatioControl Interface

IVMRWindowlessControl Interface