共用方式為


IAMMediaTypeSample::SetDiscontinuity

 
Microsoft DirectShow 9.0

IAMMediaTypeSample::SetDiscontinuity

  • Note   This interface is deprecated. New applications should not use it.

The SetDiscontinuity method sets the discontinuity property.

Syntax

  HRESULT SetDiscontinuity(
  BOOL bDiscontinuity
);

Parameters

bDiscontinuity

Value that specifies whether this sample is a discontinuity. If the sample is discontinuous with the previous sample, set the value to TRUE. Otherwise, set the value to FALSE.

Return Values

Returns S_OK.

See Also