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.
typedef enum _MFSTREAMSINK_MARKER_TYPE
{
MFSTREAMSINK_MARKER_DEFAULT = 0,
MFSTREAMSINK_MARKER_ENDOFSEGMENT = (MFSTREAMSINK_MARKER_DEFAULT+1),
MFSTREAMSINK_MARKER_TICK = (MFSTREAMSINK_MARKER_ENDOFSEGMENT+1),
MFSTREAMSINK_MARKER_EVENT = (MFSTREAMSINK_MARKER_TICK+1)
} MFSTREAMSINK_MARKER_TYPE;
| Constant | Description |
|---|---|
| MFSTREAMSINK_MARKER_DEFAULT | 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). |
If the Streaming Audio Renderer receives an MFSTREAMSINK_MARKER_TICK marker, it inserts silence to cover the gap in the data.
Header: Declared in mfidl.h.