Redigera

Dela via


MF_TOPOLOGY_PLAYBACK_FRAMERATE attribute

Specifies the monitor refresh rate.

Data type

UINT64

Get/set

To get this attribute, call MFGetAttributeRatio.

To set this attribute, call MFSetAttributeRatio.

Applies to

IMFTopology

Remarks

The topology loader uses this attribute to optimize the pipeline before playback starts. If you set this attribute, also set the MF_TOPOLOGY_STATIC_PLAYBACK_OPTIMIZATIONS attribute to TRUE.

The frame rate is expressed as a ratio. The upper 32 bits of the attribute value contain the numerator, and the lower 32 bits contain the denominator.

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

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

Topology Attributes

Video Quality Management