IMFMediaSinkPreroll interface (mfidl.h)

Enables a media sink to receive samples before the presentation clock is started.

To get a pointer to this interface, call QueryInterface on the media sink.

Inheritance

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

Methods

The IMFMediaSinkPreroll interface has these methods.

 
IMFMediaSinkPreroll::NotifyPreroll

Notifies the media sink that the presentation clock is about to start.

Remarks

Media sinks can implement this interface to support seamless playback and transitions. If a media sink exposes this interface, it can receive samples before the presentation clock starts. It can then pre-process the samples, so that rendering can begin immediately when the clock starts. Prerolling helps to avoid glitches during playback.

If a media sink supports preroll, the media sink's IMFMediaSink::GetCharacteristics method should return the MEDIASINK_CAN_PREROLL flag.

Requirements

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

See also

Media Foundation Interfaces

Media Sinks