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.

Mitglieder

IMFRateSupportSchnittstelle erbt von der IUnknown-Schnittstelle. IMFRateSupport umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

IMFRateSupportSchnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
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.

 

Hinweise

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.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mfidl.h

Bibliothek

Mfuuid.lib

Siehe auch

IMFRateControl

Media Foundation Interfaces