IMFMediaSinkPreroll interface

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.

Methods

The IMFMediaSinkPreroll interface has these methods.

Method Description
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

   
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