MEStreamSinkScrubSampleComplete event

Raised by a stream sink when it completes a scrubbing request.

Scrubbing occurs when the playback rate is zero and the presentation clock is started with a specified srubbing time. If a media sink supports scrubbing, every stream on the sink raises this event whenever the IMFClockStateSink::OnClockStart method is called while the playback rate is zero.

If the stream renders data while scrubbing, it sends the event as soon as the data is rendered. If the stream does not render data, it sends the event immediately after OnClockStart is called.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPE Description
No event data.


The following attributes are defined for this event.

Attribute Description
Presentation time for which data was rendered. If the media sink does not render data while scrubbing, it does not set this attribute.


Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events

Media Sinks