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
VT_EMPTY
No event data.

Attributes

The following attributes are defined for this event.

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

Requirements

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

See also

Media Foundation Events

Media Sinks

MESessionScrubSampleComplete