Freigeben über


IMPEG2StreamIdMap Interface

 
Microsoft DirectShow 9.0

IMPEG2StreamIdMap Interface

This interface is implemented on each output pin of the MPEG-2 Demultiplexer filter (Demux) and is used in program stream mode only. It is called by applications or other filters to associate the pin with a specified Stream ID and to inform the pin whether substream filtering is required on the stream. This interface is not exposed when the filter is playing back a file (pull-mode).

For transport streams, use the IMPEG2PIDMap interface.

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

Method Description
MapStreamId Maps the Stream ID of an elementary stream within an MPEG-2 program stream to a media content type and substream filtering information.
UnmapStreamId Unmaps the Stream ID mapping created in a previous call to MapStreamId.
EnumStreamIdMap Returns a collection of all the mapped Stream IDs on this pin.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.