IMediaSample::IsDiscontinuity method (strmif.h)

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


HRESULT IsDiscontinuity();

Return value

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


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


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)
Library Strmiids.lib

See also

Error and Success Codes

IMediaSample Interface