Share via


CMediaSample::IsDiscontinuity

 
Microsoft DirectShow 9.0

CMediaSample::IsDiscontinuity

The IsDiscontinuity method determines if this sample represents a break in the data stream. This method implements the IMediaSample::IsDiscontinuity method.

Syntax

  HRESULT IsDiscontinuity(void);

Return Value

Returns S_OK if the sample is a break in the data stream, and S_FALSE otherwise.

Remarks

The CMediaSample::m_dwFlags member variable specifies this property.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also