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

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

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

 

 

Show: