MFVideoPadFlags Enumeration

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

Constant Description
MFVideoPadFlag_PAD_TO_None Do not pad the image.
MFVideoPadFlag_PAD_TO_4x3 Pad the image so that it can be displayed in a 4×3 area.
MFVideoPadFlag_PAD_TO_16x9 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

Header: Declared in mfapi.h.