Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

Alphabetical List of Media Foundation Attributes
IMFAttributes::GetUINT32
IMFAttributes::SetUINT32
IMFMediaType
Media Type Attributes
Picture Aspect Ratio

 

 

Show:
© 2016 Microsoft