The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

This documentation is archived and is not being maintained.

MFSTREAMSINK_MARKER_TYPE enumeration

Defines stream marker information for the IMFStreamSink::PlaceMarker method. The PlaceMarker method places a marker on the stream between samples. The MFSTREAMSINK_MARKER_TYPE enumeration defines the marker type and the type of information associated with the marker.

Syntax

Constants

This marker is for the application's use and does not convey any information to the stream sink.

MFSTREAMSINK_MARKER_ENDOFSEGMENT

This marker indicates the end of a segment within a presentation. There might be a gap in the stream until the next segment starts. There is no data associated with this marker.

MFSTREAMSINK_MARKER_TICK

This marker indicates that there is a gap in the stream. The marker data is a LONGLONG value (VT_I8) that specifies the time for the missing sample. The next sample received after this marker will have the discontinuity flag. This marker corresponds to an MEStreamTick event from the stream.

MFSTREAMSINK_MARKER_EVENT

This marker contains a media event. The marker data is a pointer to the event's IMFMediaEvent interface (VT_UNKNOWN).

Remarks

If the Streaming Audio Renderer receives an MFSTREAMSINK_MARKER_TICK marker, it inserts silence to cover the gap in the data.