Compartilhar via


IEVRFilterConfig interface (evr.h)

[The component described on this page, Enhanced Video Renderer, is a legacy feature. It has been superseded by the Simple Video Renderer (SVR) exposed through the MediaPlayer and IMFMediaEngine components. To play video content you should send data into one of these components and allow them to instantiate the new video renderer. These components have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer or the lower level IMFMediaEngine APIs to play video media in Windows instead of the EVR, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Sets the number of input pins on the DirectShow Enhanced Video Renderer (EVR) filter. To get a pointer to this interface, call QueryInterface on the DirectShow EVR filter.

Inheritance

The IEVRFilterConfig interface inherits from the IUnknown interface. IEVRFilterConfig also has these types of members:

Methods

The IEVRFilterConfig interface has these methods.

 
IEVRFilterConfig::GetNumberOfStreams

Retrieves the number of input pins on the EVR filter. The EVR filter always has at least one input pin, which corresponds to the reference stream.
IEVRFilterConfig::SetNumberOfStreams

Sets the number of input pins on the EVR filter.

Remarks

The DirectShow EVR filter starts with one input pin, which corresponds to the reference stream. To create additional pins for video substreams, call SetNumberOfStreams.

The EVR media sink for Media Foundation does not support this interface. To add new streams to the EVR media sink, call IMFMediaSink::AddStreamSink.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header evr.h

See also

Enhanced Video Renderer

Media Foundation Interfaces