Using the Smart Tee Filter

If a capture filter has separate capture and preview pins, you can capture from one while previewing from the other. But if the filter has no preview pin, you can do the same thing by including the Smart Tee filter in the graph. This filter splits data from the capture pin into two identical streams, one for capture and one for preview. The following diagram illustrates this process.

capture graph with smart tee filter

The ICaptureGraphBuilder2::RenderStream method automatically inserts the Smart Tee Filter if it is required. However, if you use IGraphBuilder methods to build your graph, and not RenderStream, you may need to insert the Smart Tee filter.

Before you render pins on the capture filter, check whether the filter has a preview pin or a video port pin. If it does not, and you wish to preview, add the Smart Tee filter to the graph and connect it to the capture pin on the capture filter.


You can treat a video port (VP) pin as a kind of preview pin, so a filter with a VP pin does not need a Smart Tee filter. However, VP pins have some other special requirements. For more information, see Video Port Pins.


Advanced Capture Topics

Combining Video Capture and Preview

Working with Pin Categories