Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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 filterin the graph. This filter splits data from the capture pin into two identical streams, one for capture and one for preview.

The ICaptureGraphBuilder2::RenderStreammethod automatically inserts the Smart Tee Filter if it is required. However, if you use IGraphBuilder Interfacemethods to build your graph instead of ICaptureGraphBuilder2::RenderStream, then 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. 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.

See Also