Indicates a gap in an input stream.
public:
HRESULT SendStreamTick(
DWORD dwStreamIndex,
LONGLONG llTimestamp
)
dwStreamIndex
Type: DWORD
[in] The zero-based index of the stream.
llTimestamp
Type: LONGLONG
[in] 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.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
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 PlaceMarker on the media sink.
This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.
Header: Declared in mfreadwrite.h.