IMediaObject::Discontinuity (Windows CE 5.0)

Send Feedback

This method signals a discontinuity on the specified input stream.

HRESULT Discontinuity(DWORDdwInputStreamIndex);

Parameters

  • dwInputStreamIndex
    Zero-based index of an input stream on the DMO.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success
DMO_E_INVALIDSTREAMINDEX Invalid stream index

Remarks

A discontinuity represents a break in the input.

A discontinuity might occur because no more data is expected, the format is changing, or there is a gap in the data.

After a discontinuity, the DMO does not accept further input on that stream until all pending data has been processed. The application should call the IMediaObject::ProcessOutput method until none of the streams returns the DMO_OUTPUT_DATA_BUFFERF_INCOMPLETE flag.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Dmoguid.lib.

See Also

IMediaObject | IMediaObject::ProcessOutput | DMO_E_INVALIDSTREAMINDEX

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.