Skip to content

Latest commit

 

History

History
72 lines (37 loc) · 2.84 KB

mestreamsinkscrubsamplecomplete.md

File metadata and controls

72 lines (37 loc) · 2.84 KB
description ms.assetid title ms.topic ms.date
Raised by a stream sink when it completes a scrubbing request.
451c7e09-868e-4c05-b970-d222b97223f2
MEStreamSinkScrubSampleComplete event (Mfobjects.h)
reference
05/31/2018

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

Requirement Value
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