MFVideoPadFlags enumeration (mfapi.h)

Specifies whether to pad a video image so that it fits within a specified aspect ratio.

Syntax

typedef enum _MFVideoPadFlags {
  MFVideoPadFlag_PAD_TO_None = 0,
  MFVideoPadFlag_PAD_TO_4x3 = 1,
  MFVideoPadFlag_PAD_TO_16x9 = 2
} MFVideoPadFlags;

Constants

 
MFVideoPadFlag_PAD_TO_None
Value: 0
Do not pad the image.
MFVideoPadFlag_PAD_TO_4x3
Value: 1
Pad the image so that it can be displayed in a 4×3 area.
MFVideoPadFlag_PAD_TO_16x9
Value: 2
Pad the image so that it can be displayed in a 16×9 area.

Remarks

Use these flags with the MF_MT_PAD_CONTROL_FLAGS attribute.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header mfapi.h

See also

Media Foundation Enumerations