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
typedef enum MFSTREAMSINK_MARKER_TYPE { MFSTREAMSINK_MARKER_DEFAULT, MFSTREAMSINK_MARKER_ENDOFSEGMENT, MFSTREAMSINK_MARKER_TICK, MFSTREAMSINK_MARKER_EVENT } ;
Constants
- 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).
Remarks
If the Streaming Audio Renderer receives an MFSTREAMSINK_MARKER_TICK marker, it inserts silence to cover the gap in the data.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
See also