Microsoft DirectX 9.0

IMediaSample::IsDiscontinuity

The IsDiscontinuity method determines if this sample represents a break in the data stream.

Syntax

HRESULT IsDiscontinuity(void);

Return Value

Returns S_OK if the sample is a break in the data stream. Otherwise, returns S_FALSE.

Remarks

A discontinuity occurs when a filter seeks to a different place in the stream, or when a filter drops samples for quality control.

See Also