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.
Members
The IMFMediaSinkPreroll interface inherits from the IUnknown interface. IMFMediaSinkPreroll also has these types of members:
Methods
The IMFMediaSinkPreroll interface has these methods.
| Method | Description |
|---|---|
| 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 | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
See also