Compartilhar via


IMPEG2PIDMap Interface

 
Microsoft DirectShow 9.0

IMPEG2PIDMap Interface

This interface is implemented on each output pin of the MPEG-2 Demultiplexer filter (Demux) and is used in transport stream mode only. It is called by applications or other filters to associate the pin with one or more Packet IDs (PID). Once a PID has been mapped, the Demux will deliver all packets with that ID to the output pin. This interface is not exposed when the filter is playing back a file (pull-mode).

For program streams, use the IMPEG2StreamIdMap interface.

OCUR Devices: This interface supports OpenCable Unidirectional Cable Receiver (OCUR) devices. See OCUR Devices.

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

Method Description
MapPID Maps the packets of a specified PID to the pin.
UnmapPID Unmaps the PID mapping created in a previous call to MapPID.
EnumPIDMap Returns a collection of all the currently mapped PIDs on this pin.

Requirements

Header: Include Bdaiface.h.

Library: Use Strmiids.lib.