Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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_NoneValue: 0 Do not pad the image. |
MFVideoPadFlag_PAD_TO_4x3Value: 1 Pad the image so that it can be displayed in a 4×3 area. |
MFVideoPadFlag_PAD_TO_16x9Value: 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 |