MF_MT_PAN_SCAN_ENABLED attribute

Specifies whether pan/scan mode is enabled.

Data type

UINT32

Treat as a Boolean value.

Remarks

If this attribute is TRUE, only the pan/scan region of the video should be displayed. The pan/scan region is specified by the MF_MT_PAN_SCAN_APERTURE attribute.

If this attribute is FALSE or not set, the entire display aperture of the video should be displayed. The display aperture is specified by the MF_MT_MINIMUM_DISPLAY_APERTURE attribute.

If you set this attribute to TRUE, also set the value of the MF_MT_PAN_SCAN_APERTURE attribute.

The GUID constant for this attribute is exported from mfuuid.lib.

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

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFMediaType

Media Type Attributes

Picture Aspect Ratio