Microsoft DirectX 9.0

IMediaSample::SetDiscontinuity

The SetDiscontinuity method specifies whether this sample represents a break in the data stream.

Syntax

HRESULT SetDiscontinuity(
  BOOL bIsDiscontinuity
);

Parameters

bIsDiscontinuity

[in] Boolean value that specifies whether this sample is a discontinuity. If TRUE, the media sample is discontinuous with the previous sample.

Return Value

Returns S_OK, or an HRESULT value indicating the cause of the error.

See Also