IMFRateSupport interface (mfidl.h)
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.
The IMFRateSupport interface inherits from the IUnknown interface. IMFRateSupport also has these types of members:
The IMFRateSupport interface has these methods.
IMFRateSupport::GetFastestRate Gets the fastest playback rate supported by the object. |
IMFRateSupport::GetSlowestRate Retrieves the slowest playback rate supported by the object. |
IMFRateSupport::IsRateSupported Queries whether the object supports a specified playback rate. |
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.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfidl.h |