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.

Syntax

interface IMFMediaSinkPreroll : public IUnknown  

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

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.