共用方式為


IMediaSample::IsDiscontinuity

 
Microsoft DirectShow 9.0

IMediaSample::IsDiscontinuity

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

Syntax

  HRESULT IsDiscontinuity(void);

Return Values

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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also