Compartilhar via


IAMParse Interface

 
Microsoft DirectShow 9.0

IAMParse Interface

The IAMParse interface sets and retrieves the parse time for an MPEG-2 stream. The parse time is a notional time associated with the current position in the stream of bytes supplied to the parser filter. This time is also tied to the origin of the time stamps in that time stamp zero corresponds to parse time zero.

The MPEG-2 Splitter filter implements this interface. Use this interface to retrieve or set the current stream parse time or to clear the data buffer of its current data.

In addition to the methods inherited from IUnknown, the IAMParse interface exposes the following methods.

Method Description
Flush Empties the current file buffer.
GetParseTime Retrieves the current stream parse time.
SetParseTime Sets the current stream parse time.

Requirements

Header: Include Amparse.h.

Library: Use Strmiids.lib.