Expand Minimize

IMFRateSupport interface

Queries the range of playback rates that are supported, including reverse playback.

To get a pointer to this interface, call IMFGetService::GetService with the service identifier MF_RATE_CONTROL_SERVICE.

Members

The IMFRateSupport interface inherits from the IUnknown interface. IMFRateSupport also has these types of members:

Methods

The IMFRateSupport interface has these methods.

MethodDescription
GetFastestRate

Gets the fastest playback rate supported by the object.

GetSlowestRate

Gets the slowest playback rate supported by the object.

IsRateSupported

Queries whether the object supports a specified playback rate.

 

Remarks

Applications can use this interface to discover the fastest and slowest playback rates that are possible, and to query whether a given playback rate is supported. Applications obtain this interface from the Media Session. Internally, the Media Session queries the objects in the pipeline. For more information, see How to Determine Supported Rates.

To get the current playback rate and to change the playback rate, use the IMFRateControl interface.

Playback rates are expressed as a ratio the normal playback rate. Reverse playback is expressed as a negative rate. Playback is either thinned or non-thinned. In thinned playback, some of the source data is skipped (typically delta frames). In non-thinned playback, all of the source data is rendered.

You might need to implement this interface if you are writing a pipeline object (media source, transform, or media sink). For more information, see Implementing Rate Control.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFRateControl
Media Foundation Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft