CMediaSample::SetDiscontinuity

Sets the discontinuity property.

HRESULT SetDiscontinuity(
BOOL bDiscont );

Parameters

  • bDiscont
    Set to TRUE to specify the media sample as discontinuous with the previous sample.

Return Values

Returns an HRESULT value.

Remarks

This member function implements the IMediaSample::SetDiscontinuity method. It sets the value of the m_dwFlags Sample_Discontinuity flag to the value of bDiscont. Discontinuous samples occur when a source filter seeks to a different place in the media stream or when a filter drops samples for quality control.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.