Microsoft DirectX 9.0

MPEG-2 Demux Run-Time Modes

The MPEG-2 Demultiplexer ("demux") can operate in push mode or pull mode. In push mode, the data comes from a live source, such as a network broadcast. In pull mode, the data comes from a local file.

The demux therefore supports three possible modes: Program streams in pull mode, program streams in push mode, and transport streams in push mode. The demux determines which mode to use at run time. The mode is determined when the input pin connects, or when the first output pin is configured, whichever happens first:

Once the demux has configured itself for a particular mode, it remains in that mode. To use a different mode, you must create a new instance of the demux.

See Also