Share via


Smart Tee Filter

 
Microsoft DirectShow 9.0

Smart Tee Filter

The Smart Tee filter is used in video capture graphs to split the video stream into a preview stream and a capture stream. This is done without any additional data copying. The output pins support whatever media types are supported on the downstream connection.

The Smart Tee filter is useful when a video capture filter does not provide separate pins for capture and preview. The Smart Tee filter delivers preview data only if doing so does not hurt capture performance. It also removes the time stamps from the preview stream. The capture graph builder automatically inserts the Smart Tee filter when needed. For more information, see Combining Video Capture and Preview.

The following illustration shows a typical capture graph that uses the Smart Tee filter.

Using the Smart Tee Filter

Filter Interfaces IBaseFilter
Input Pin Media Types MEDIATYPE_Video, MEDIASUBTYPE_NULL
Input Pin Interfaces IMemInputPin, IPin, IQualityControl
Output Pin Media Types MEDIATYPE_Video, MEDIASUBTYPE_NULL
Output Pin Interfaces IAMStreamControl, IPin, IQualityControl
Filter CLSID CLSID_SmartTee
Property Page CLSID No property page.
Executable qcap.dll
Merit MERIT_DO_NOT_USE
Filter Category CLSID_LegacyAmFilterCategory

Remarks

The capture pin is output pin 0, and the preview pin is output pin 1.

See Also