IMFSinkWriter::SendStreamTick method (mfreadwrite.h)
Indicates a gap in an input stream.
HRESULT SendStreamTick( [in] DWORD dwStreamIndex, [in] LONGLONG llTimestamp );
The zero-based index of the stream.
The position in the stream where the gap in the data occurs. The value is given in 100-nanosecond units, relative to the start of the stream.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
For video, call this method once for each missing frame. For audio, call this method at least once per second during a gap in the audio. Set the MFSampleExtension_Discontinuity attribute on the first media sample after the gap.
Internally, this method calls IMFStreamSink::PlaceMarker on the media sink.
This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.
|Minimum supported client||Windows 7, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps | UWP apps]|